diff options
author | Elijah Newren <newren@gmail.com> | 2020-04-01 04:17:44 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-01 11:11:31 -0700 |
commit | 7f45ab2dca04c5b76958843120c6bd6d3a033043 (patch) | |
tree | 90d4ece9f9a2fbf862e734ebb8f5fd47531bc477 /Documentation/RelNotes/1.7.4.1.txt | |
parent | dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory() (diff) | |
download | tgif-7f45ab2dca04c5b76958843120c6bd6d3a033043.tar.xz |
dir: replace double pathspec matching with single in treat_directory()
treat_directory() had a call to both do_match_pathspec() and
match_pathspec(). These calls have migrated through the code somewhat
since their introduction, but we don't actually need both. Replace the
two calls with one, and while at it, move the check earlier in order to
reduce the need for callers of fill_directory() to do post-filtering of
results.
The next patch will address post-filtering more forcefully and provide
more relevant history and context.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.4.1.txt')
0 files changed, 0 insertions, 0 deletions