author | Christian Couder <chriscool@tuxfamily.org> | |
Sun, 18 Nov 2007 15:34:03 +0000 (16:34 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 Nov 2007 00:35:55 +0000 (16:35 -0800) | ||
commit | 6459c7c6786aa9bda0c7a095c9db66c36da0e5f0 | |
tree | 2173036d1369eda6d14be4a167e5b605e5541d07 | tree | snapshot |
parent | e3f062bfd412adafb7ed6a8f24a3ec89d39211fc | commit | diff |
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>
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 | diff | blob | history |