@@ -114,7 +114,7 @@ test_expect_success 'rebase -i with exec allows git commands in subdirs' '
114
114
git checkout master &&
115
115
mkdir subdir && (cd subdir &&
116
116
set_fake_editor &&
117
- FAKE_LINES="1 exec_cd_subdir_ &&_git_rev-parse_--is-inside-work-tree" \
117
+ FAKE_LINES="1 x_cd_subdir_ &&_git_rev-parse_--is-inside-work-tree" \
118
118
git rebase -i HEAD^
119
119
)
120
120
'
@@ -515,7 +515,7 @@ test_expect_success 'squash works as expected' '
515
515
git checkout -b squash-works no-conflict-branch &&
516
516
one=$(git rev-parse HEAD~3) &&
517
517
set_fake_editor &&
518
- FAKE_LINES="1 squash 3 2" EXPECT_HEADER_COUNT=2 \
518
+ FAKE_LINES="1 s 3 2" EXPECT_HEADER_COUNT=2 \
519
519
git rebase -i HEAD~3 &&
520
520
test $one = $(git rev-parse HEAD~2)
521
521
'
@@ -748,7 +748,7 @@ test_expect_success 'reword' '
748
748
git show HEAD^ | grep "D changed" &&
749
749
FAKE_LINES="reword 1 2 3 4" FAKE_COMMIT_MESSAGE="B changed" git rebase -i A &&
750
750
git show HEAD~3 | grep "B changed" &&
751
- FAKE_LINES="1 reword 2 3 4" FAKE_COMMIT_MESSAGE="C changed" git rebase -i A &&
751
+ FAKE_LINES="1 r 2 pick 3 p 4" FAKE_COMMIT_MESSAGE="C changed" git rebase -i A &&
752
752
git show HEAD~2 | grep "C changed"
753
753
'
754
754
@@ -774,7 +774,7 @@ test_expect_success 'rebase -i can copy notes over a fixup' '
774
774
git reset --hard n3 &&
775
775
git notes add -m"an earlier note" n2 &&
776
776
set_fake_editor &&
777
- GIT_NOTES_REWRITE_MODE=concatenate FAKE_LINES="1 fixup 2" git rebase -i n1 &&
777
+ GIT_NOTES_REWRITE_MODE=concatenate FAKE_LINES="1 f 2" git rebase -i n1 &&
778
778
git notes show > output &&
779
779
test_cmp expect output
780
780
'
@@ -1251,7 +1251,7 @@ rebase_setup_and_clean () {
1251
1251
test_expect_success ' drop' '
1252
1252
rebase_setup_and_clean drop-test &&
1253
1253
set_fake_editor &&
1254
- FAKE_LINES="1 drop 2 3 drop 4 5" git rebase -i --root &&
1254
+ FAKE_LINES="1 drop 2 3 d 4 5" git rebase -i --root &&
1255
1255
test E = $(git cat-file commit HEAD | sed -ne \$p) &&
1256
1256
test C = $(git cat-file commit HEAD^ | sed -ne \$p) &&
1257
1257
test A = $(git cat-file commit HEAD^^ | sed -ne \$p)
0 commit comments