summaryrefslogtreecommitdiff
path: root/t/t3406-rebase-message.sh
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2022-10-12 09:35:09 +0000
committerJunio C Hamano <gitster@pobox.com>2022-10-17 12:55:03 -0700
commit33f2b61ff9039247fd26d8b40db7e87e16ffe214 (patch)
treebdd1e0788daff64094d8882ad75ee5c2def59e31 /t/t3406-rebase-message.sh
parent1f2d5dc4d2bbcae87736fcd7b7c0e6542008c5f7 (diff)
downloadgit-33f2b61ff9039247fd26d8b40db7e87e16ffe214.tar.gz
rebase --apply: respect GIT_REFLOG_ACTION
The reflog messages when finishing a rebase hard code "rebase" rather than using GIT_REFLOG_ACTION. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3406-rebase-message.sh')
-rwxr-xr-xt/t3406-rebase-message.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3406-rebase-message.sh b/t/t3406-rebase-message.sh
index 8aa6a79acc..bb2a4949ab 100755
--- a/t/t3406-rebase-message.sh
+++ b/t/t3406-rebase-message.sh
@@ -88,7 +88,7 @@ test_expect_success 'error out early upon -C<n> or --whitespace=<bad>' '
write_reflog_expect () {
if test $mode = --apply
then
- sed 's/.*(finish)/rebase finished/; s/ ([^)]*)//'
+ sed 's/(finish)/finished/; s/ ([^)]*)//'
else
cat
fi >expect