diff options
author | Brandon Williams <bmwill@google.com> | 2017-01-04 10:04:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-08 18:04:18 -0800 |
commit | 8881fde01340e1fff4a3acc17805886b644d18d8 (patch) | |
tree | ac26cc508e88207ca0357126c11938da83484c4a /url.h | |
parent | b4bebdce834d9186f6b1646a943612658f4fb91c (diff) | |
download | git-8881fde01340e1fff4a3acc17805886b644d18d8.tar.gz git-8881fde01340e1fff4a3acc17805886b644d18d8.tar.xz |
pathspec: create parse_long_magic function
Factor out the logic responsible for parsing long magic into its own
function. As well as hoist the prefix check logic outside of the inner
loop as there isn't anything that needs to be done after matching
"prefix:".
Signed-off-by: Brandon Williams <bmwill@google.com>
Reviewed-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.h')
0 files changed, 0 insertions, 0 deletions