Bisect: use "$GIT_DIR/BISECT_NAMES" to check if we are bisecting.
commit6459c7c6786aa9bda0c7a095c9db66c36da0e5f0
authorChristian Couder <chriscool@tuxfamily.org>
Sun, 18 Nov 2007 15:34:03 +0000 (18 16:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2007 00:35:55 +0000 (18 16:35 -0800)
tree2173036d1369eda6d14be4a167e5b605e5541d07
parente3f062bfd412adafb7ed6a8f24a3ec89d39211fc
Bisect: use "$GIT_DIR/BISECT_NAMES" to check if we are bisecting.

Previously we tested if the "$GIT_DIR/refs/bisect" directory
existed, to check if we were bisecting.

Now with packed refs, it is simpler to check if the file
"$GIT_DIR/BISECT_NAMES" exists, as it is already created when
starting bisection and removed when reseting bisection.

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