summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-04-01 04:17:43 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-01 11:11:31 -0700
commit1684644489fbd76d01fe3bb53c65df6856fd00c5 (patch)
treed3a395b1fa6b4e07c827fb0d88b0fa21e45618b7 /contrib
parentdir: replace exponential algorithm with a linear one (diff)
downloadtgif-1684644489fbd76d01fe3bb53c65df6856fd00c5.tar.xz
dir: include DIR_KEEP_UNTRACKED_CONTENTS handling in treat_directory()
Handling DIR_KEEP_UNTRACKED_CONTENTS within treat_directory() instead of as a post-processing step in read_directory(): * allows us to directly access and remove the relevant entries instead of needing to calculate which ones need to be removed * keeps the logic for directory handling in one location (and puts it closer the the logic for stripping out extra ignored entries, which seems logical). Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions