diff options
author | Elijah Newren <newren@gmail.com> | 2021-12-09 05:08:29 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-09 13:33:13 -0800 |
commit | 00fcce285db3db48f85730a183421fdb488c14cc (patch) | |
tree | ffe8f96c41a663f7582422de1771ec21045aa8ad /t/t4018/cpp-function-returning-reference | |
parent | unpack-trees: add special cwd handling (diff) | |
download | tgif-00fcce285db3db48f85730a183421fdb488c14cc.tar.xz |
symlinks: do not include startup_info->original_cwd in dir removal
symlinks has a pair of schedule_dir_for_removal() and
remove_scheduled_dirs() functions that ensure that directories made
empty by removing other files also themselves get removed. However, we
want to exclude startup_info->original_cwd and leave it around. This
avoids the user getting confused by subsequent git commands (and non-git
commands) that would otherwise report confusing messages about being
unable to read the current working directory.
Acked-by: Derrick Stolee <stolee@gmail.com>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-function-returning-reference')
0 files changed, 0 insertions, 0 deletions