path: root/t
diff options
authorJohannes Sixt <>2012-05-18 13:48:53 (GMT)
committerJunio C Hamano <>2012-05-18 19:26:49 (GMT)
commit9ef5b2bd166aa390778d7dcda58714ee222d7377 (patch)
tree6a7f6270b0d054476cdb1a93ac793f05a1d28afe /t
parent87b50542a08ac6caa083ddc376e674424e37940a (diff)
Fix t3411.3 to actually rebase something
The test intends to rebase a branchy history onto a later commit, but it forgot to reset HEAD back to an earlier commit before it set up the side branches. In the end, every "rebased" commit was only a fast-forward and the 'rebase -p' did not change the commit graph at all. Insert the missing checkout that moves to an earlier commit. Signed-off-by: Johannes Sixt <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't')
1 files changed, 1 insertions, 0 deletions
diff --git a/t/ b/t/
index 14a23cd..fbe896f 100755
--- a/t/
+++ b/t/
@@ -56,6 +56,7 @@ test_expect_success 'squash F1 into D1' '
# And rebase G1..M1 onto E2
test_expect_success 'rebase two levels of merge' '
+ git checkout A1 &&
test_commit G1 &&
test_commit H1 &&
test_commit I1 &&