diff options
author | Elijah Newren <newren@gmail.com> | 2019-09-17 16:34:59 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-17 19:20:35 (GMT) |
commit | 29b577b96082d87b7237fdc57bf95cfe0914c53d (patch) | |
tree | 7451b9ce3536f96a8b3cf6c74db45cebfebcf707 /list-objects-filter.h | |
parent | 89a1f4aaf7650288b976c6022b2c5854950d52c6 (diff) | |
download | git-29b577b96082d87b7237fdc57bf95cfe0914c53d.zip git-29b577b96082d87b7237fdc57bf95cfe0914c53d.tar.gz git-29b577b96082d87b7237fdc57bf95cfe0914c53d.tar.bz2 |
dir: add commentary explaining match_pathspec_item's return value
The way match_pathspec_item() handles names and pathspecs with trailing
slash characters, in conjunction with special options like
DO_MATCH_DIRECTORY and DO_MATCH_LEADING_PATHSPEC were non-obvious, and
broken until this patch series. Add a table in a comment explaining the
intent of how these work.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter.h')
0 files changed, 0 insertions, 0 deletions