diff options
author | Elijah Newren <newren@gmail.com> | 2020-04-01 04:17:43 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-01 11:11:31 -0700 |
commit | 1684644489fbd76d01fe3bb53c65df6856fd00c5 (patch) | |
tree | d3a395b1fa6b4e07c827fb0d88b0fa21e45618b7 /builtin/commit.c | |
parent | 8d92fb292706fd8d13cfe55353b2ec9345153a3e (diff) |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions