summaryrefslogtreecommitdiff
path: root/t/t2403-worktree-move.sh
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-04-01 04:17:44 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-01 11:11:31 -0700
commit7f45ab2dca04c5b76958843120c6bd6d3a033043 (patch)
tree90d4ece9f9a2fbf862e734ebb8f5fd47531bc477 /t/t2403-worktree-move.sh
parentdir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory() (diff)
downloadtgif-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 't/t2403-worktree-move.sh')
0 files changed, 0 insertions, 0 deletions