diff options
author | Brandon Williams <bmwill@google.com> | 2017-01-04 10:04:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-08 18:04:18 -0800 |
commit | 1b6112c527be607f56a674301b413af16aa186c6 (patch) | |
tree | 001be6b42d68b64f46cd6bfee50270edce50815d /url.h | |
parent | 8881fde01340e1fff4a3acc17805886b644d18d8 (diff) | |
download | git-1b6112c527be607f56a674301b413af16aa186c6.tar.gz git-1b6112c527be607f56a674301b413af16aa186c6.tar.xz |
pathspec: create parse_element_magic helper
Factor out the logic responsible for the magic in a pathspec element
into its own function.
Also avoid calling into the parsing functions when
`PATHSPEC_LITERAL_PATH` is specified since it causes magic to be
ignored and all paths to be treated as literals.
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