Code

bisect: add test cases to check that "git bisect start" is atomic
authorChristian Couder <chriscool@tuxfamily.org>
Thu, 22 May 2008 22:38:46 +0000 (00:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2008 05:01:27 +0000 (22:01 -0700)
commitd3aca58562ee5c4af5266affd942c58dcb9f064d
treefa747a92dfdd357c092dd8a1c7cf5ea3035e4033
parent1af8bca79766198c591d8db58f778a98e96627e2
bisect: add test cases to check that "git bisect start" is atomic

This patch adds some test cases to check that "git bisect start"
doesn't leave us in a bad state, especially when it fails.

These test cases show that "git bisect start" is not atomic when it
fails and leave some files like .git/BISECT_START, and in some
cases some refs, over.

The test failures should be fixed in latter commits.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6030-bisect-porcelain.sh