author | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Apr 2007 06:27:44 +0000 (23:27 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 7 Apr 2007 00:55:57 +0000 (17:55 -0700) | ||
commit | 0a5280a9f444c33b0e4ebf2f073df5899c112cf8 | |
tree | cd6e6a6ceda6d4019ef1a0610646e05a95b32c73 | tree | snapshot |
parent | 4f50671699090089b7967880f9b0291391c8de1a | commit | diff |
git-bisect: allow bisecting with only one bad commit.
This allows you to say:
git bisect start
git bisect bad $bad
git bisect next
to start bisection without knowing a good commit. This would
have you try a commit that is half-way since the beginning of
the history, which is rather wasteful if you already know a good
commit, but if you don't (or your history is short enough that
you do not care), there is no reason not to allow this.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This allows you to say:
git bisect start
git bisect bad $bad
git bisect next
to start bisection without knowing a good commit. This would
have you try a commit that is half-way since the beginning of
the history, which is rather wasteful if you already know a good
commit, but if you don't (or your history is short enough that
you do not care), there is no reason not to allow this.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-bisect.sh | diff | blob | history | |
t/t6030-bisect-run.sh | diff | blob | history |