summaryrefslogtreecommitdiff
path: root/t/t3413-rebase-hook.sh
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-12-09 05:08:27 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-09 13:33:12 -0800
commitb817e545338cdb737b3deebf4917afb4a18ede57 (patch)
treec8e6a6039201162361e9919bfe0f4a6480db3ca0 /t/t3413-rebase-hook.sh
parentsetup: introduce startup_info->original_cwd (diff)
downloadtgif-b817e545338cdb737b3deebf4917afb4a18ede57.tar.xz
unpack-trees: refuse to remove startup_info->original_cwd
In the past, when a directory needs to be removed to make room for a file, we have always errored out when that directory contains any untracked (but not ignored) files. Add an extra condition on that: also error out if the directory is the current working directory we inherited from our parent process. 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/t3413-rebase-hook.sh')
0 files changed, 0 insertions, 0 deletions