Skip to content

Commit 07913d5

Browse files
chriscoolgitster
authored andcommitted
bisect: add test to check that revs are properly parsed
Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6bc02d5 commit 07913d5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/t6030-bisect-porcelain.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,4 +779,13 @@ test_expect_success 'bisect log: only skip commits left' '
779779
git bisect reset
780780
'
781781

782+
test_expect_success '"git bisect bad HEAD" behaves as "git bisect bad"' '
783+
git checkout parallel &&
784+
git bisect start HEAD $HASH1 &&
785+
git bisect good HEAD &&
786+
git bisect bad HEAD &&
787+
test "$HASH6" = $(git rev-parse --verify HEAD) &&
788+
git bisect reset
789+
'
790+
782791
test_done

0 commit comments

Comments
 (0)