Skip to content

Commit 8aae489

Browse files
ossilatorgitster
authored andcommitted
t3404-rebase-interactive.sh: fix typos in title of a rewording test
This test was introduced by commit 0c164ae ("rebase -i: add another reword test", 2021-08-20). I didn't quite get what it was meant to do, so here's an explanation from Phillip: The purpose of the test is to ensure that (i) There are no uncommitted changes when the editor runs. i.e., we commit without running the editor and then reword by amending that commit. This ensures that we have the same user experience whether or not the commit was fast-forwarded [1]. (ii) That the todo list is re-read after the commit has been reworded. This is to allow the user to update the todo list while the rebase is paused for editing the commit message. [1] https://lore.kernel.org/git/[email protected]/ Signed-off-by: Oswald Buddenhagen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 43c8a30 commit 8aae489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3404-rebase-interactive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ test_expect_success 'reword' '
758758
git show HEAD~2 | grep "C changed"
759759
'
760760

761-
test_expect_success 'no uncommited changes when rewording the todo list is reloaded' '
761+
test_expect_success 'no uncommitted changes when rewording and the todo list is reloaded' '
762762
git checkout E &&
763763
test_when_finished "git checkout @{-1}" &&
764764
(

0 commit comments

Comments
 (0)