mirror of
https://github.com/git/git.git
synced 2025-04-18 15:04:18 +00:00
bisect: add test to check that revs are properly parsed
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6bc02d5627
commit
07913d5ae1
@ -779,4 +779,13 @@ test_expect_success 'bisect log: only skip commits left' '
|
||||
git bisect reset
|
||||
'
|
||||
|
||||
test_expect_success '"git bisect bad HEAD" behaves as "git bisect bad"' '
|
||||
git checkout parallel &&
|
||||
git bisect start HEAD $HASH1 &&
|
||||
git bisect good HEAD &&
|
||||
git bisect bad HEAD &&
|
||||
test "$HASH6" = $(git rev-parse --verify HEAD) &&
|
||||
git bisect reset
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Loading…
x
Reference in New Issue
Block a user