@@ -124,7 +124,7 @@ test_expect_success 'rebase -i with exec allows git commands in subdirs' '
124
124
git checkout master &&
125
125
mkdir subdir && (cd subdir &&
126
126
set_fake_editor &&
127
- FAKE_LINES="1 exec_cd_subdir_ &&_git_rev-parse_--is-inside-work-tree" \
127
+ FAKE_LINES="1 x_cd_subdir_ &&_git_rev-parse_--is-inside-work-tree" \
128
128
git rebase -i HEAD^
129
129
)
130
130
'
@@ -525,7 +525,7 @@ test_expect_success 'squash works as expected' '
525
525
git checkout -b squash-works no-conflict-branch &&
526
526
one=$(git rev-parse HEAD~3) &&
527
527
set_fake_editor &&
528
- FAKE_LINES="1 squash 3 2" EXPECT_HEADER_COUNT=2 \
528
+ FAKE_LINES="1 s 3 2" EXPECT_HEADER_COUNT=2 \
529
529
git rebase -i HEAD~3 &&
530
530
test $one = $(git rev-parse HEAD~2)
531
531
'
@@ -758,7 +758,7 @@ test_expect_success 'reword' '
758
758
git show HEAD^ | grep "D changed" &&
759
759
FAKE_LINES="reword 1 2 3 4" FAKE_COMMIT_MESSAGE="B changed" git rebase -i A &&
760
760
git show HEAD~3 | grep "B changed" &&
761
- FAKE_LINES="1 reword 2 3 4" FAKE_COMMIT_MESSAGE="C changed" git rebase -i A &&
761
+ FAKE_LINES="1 r 2 pick 3 p 4" FAKE_COMMIT_MESSAGE="C changed" git rebase -i A &&
762
762
git show HEAD~2 | grep "C changed"
763
763
'
764
764
@@ -784,7 +784,7 @@ test_expect_success 'rebase -i can copy notes over a fixup' '
784
784
git reset --hard n3 &&
785
785
git notes add -m"an earlier note" n2 &&
786
786
set_fake_editor &&
787
- GIT_NOTES_REWRITE_MODE=concatenate FAKE_LINES="1 fixup 2" git rebase -i n1 &&
787
+ GIT_NOTES_REWRITE_MODE=concatenate FAKE_LINES="1 f 2" git rebase -i n1 &&
788
788
git notes show > output &&
789
789
test_cmp expect output
790
790
'
@@ -1261,7 +1261,7 @@ rebase_setup_and_clean () {
1261
1261
test_expect_success ' drop' '
1262
1262
rebase_setup_and_clean drop-test &&
1263
1263
set_fake_editor &&
1264
- FAKE_LINES="1 drop 2 3 drop 4 5" git rebase -i --root &&
1264
+ FAKE_LINES="1 drop 2 3 d 4 5" git rebase -i --root &&
1265
1265
test E = $(git cat-file commit HEAD | sed -ne \$p) &&
1266
1266
test C = $(git cat-file commit HEAD^ | sed -ne \$p) &&
1267
1267
test A = $(git cat-file commit HEAD^^ | sed -ne \$p)
0 commit comments