diff options
author | Elijah Newren <newren@gmail.com> | 2021-09-11 17:08:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-12 16:42:40 -0700 |
commit | f222bd34ffde9e2fb06794bb657fd9dc371261df (patch) | |
tree | ac5daf0ebc83808be18435bba3c01c9de61702c8 /t/t3435-rebase-gpg-sign.sh | |
parent | 8b7c11b8668b4e774f81a9f0b4c30144b818f1d1 (diff) | |
download | git-f222bd34ffde9e2fb06794bb657fd9dc371261df.tar.gz |
tests: remove leftover untracked files
Remove untracked files that are unwanted after they are done being used.
While the set of cases in this patch is certainly far from
comprehensive, it was motivated by some work to see what the fallout
would be if we were to make the removal of untracked files as a side
effect of other commands into an error. Some cases were a bit more
involved than the testcase changes included in this patch, but the ones
included here represent the simple cases. While this patch is not that
important since we are not changing the behavior of those other commands
into an error in the near term, I thought these changes were useful
anyway as an explicit documentation of the intent that these untracked
files are no longer useful.
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3435-rebase-gpg-sign.sh')
-rwxr-xr-x | t/t3435-rebase-gpg-sign.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3435-rebase-gpg-sign.sh b/t/t3435-rebase-gpg-sign.sh index ec10766858..5f8ba2c739 100755 --- a/t/t3435-rebase-gpg-sign.sh +++ b/t/t3435-rebase-gpg-sign.sh @@ -65,6 +65,7 @@ test_rebase_gpg_sign ! true -i --gpg-sign --no-gpg-sign test_rebase_gpg_sign false -i --no-gpg-sign --gpg-sign test_expect_failure 'rebase -p --no-gpg-sign override commit.gpgsign' ' + test_when_finished "git clean -f" && git reset --hard merged && git config commit.gpgsign true && git rebase -p --no-gpg-sign --onto=one fork-point main && |