aboutsummaryrefslogtreecommitdiff
path: root/builtin-grep.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-05-28 18:57:02 +0200
committerJunio C Hamano <gitster@pobox.com>2008-05-28 11:47:58 -0700
commit823ea1211ca48afc229c84fcc06f66a87fa78303 (patch)
tree32832dbd6fd60885167cdf965d0bafb777182492 /builtin-grep.c
parentefb98b44536300f5daed25da3650033a1ce7fdef (diff)
downloadgit-823ea1211ca48afc229c84fcc06f66a87fa78303.tar.gz
git-823ea1211ca48afc229c84fcc06f66a87fa78303.tar.xz
bisect: use "$GIT_DIR/BISECT_START" to check if we are bisecting
It seems simpler and safer to use the BISECT_START file everywhere to decide if we are bisecting or not, instead of using it in some places and BISECT_NAMES in other places. In commit 6459c7c6786aa9bda0c7a095c9db66c36da0e5f0 (Nov 18 2007, Bisect: use "$GIT_DIR/BISECT_NAMES" to check if we are bisecting.), we decided to use BISECT_NAMES but code changed a lot and we now have to check BISECT_START first in the "bisect_start" function anyway. This patch also makes things a little bit safer by creating the BISECT_START file first and deleting it last, and also by adding checks in "bisect_clean_state". Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-grep.c')
0 files changed, 0 insertions, 0 deletions