t3404: begin "exchange commits with -p" test with correct preconditions
authorJohannes Sixt <j6t@kdbg.org>
Sat, 19 May 2012 13:14:16 +0000 (15:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 20 May 2012 21:54:07 +0000 (14:54 -0700)
commit27ccd8d1a3ccb539d1d97302e1f500b6d20eb781
treedb6748e4d322c73188eb49122112cabc4e11009b
parent042e9f94a71977b471e230f0c637699b0a7ca3d3
t3404: begin "exchange commits with -p" test with correct preconditions

The test case shows a bug in 'rebase -p', but even if the bug were fixed
the test would fail because it did not ensure that the preconditions match
the postconditions that were checked. Insert the suitable 'git checkout'.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3404-rebase-interactive.sh