aboutsummaryrefslogtreecommitdiff
path: root/t/t3404-rebase-interactive.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-20 15:45:35 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-20 15:45:35 -0700
commitadc7052bb6e737cec0c6702f8dde259540eab672 (patch)
tree9a3bfa9ff1389908213adcbddedfa09bf8b88c7b /t/t3404-rebase-interactive.sh
parent9de96815493b577ae791d5113a3e354142ffbcae (diff)
parentcb8ad289c6b3f774e6e4431a08eb585eadbb8dad (diff)
downloadgit-adc7052bb6e737cec0c6702f8dde259540eab672.tar.gz
git-adc7052bb6e737cec0c6702f8dde259540eab672.tar.xz
Merge branch 'maint'
By Jens Lehmann (1) and Johannes Sixt (1) * maint: Consistently use "superproject" instead of "supermodule" t3404: begin "exchange commits with -p" test with correct preconditions
Diffstat (limited to 't/t3404-rebase-interactive.sh')
-rwxr-xr-xt/t3404-rebase-interactive.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh
index 4983bd777..025c1c610 100755
--- a/t/t3404-rebase-interactive.sh
+++ b/t/t3404-rebase-interactive.sh
@@ -247,6 +247,7 @@ test_expect_success '-p handles "no changes" gracefully' '
'
test_expect_failure 'exchange two commits with -p' '
+ git checkout H &&
FAKE_LINES="2 1" git rebase -i -p HEAD~2 &&
test H = $(git cat-file commit HEAD^ | sed -ne \$p) &&
test G = $(git cat-file commit HEAD | sed -ne \$p)