Re: [PATCH] Bisect: add checks at the beginning of "git bisect run".
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Mar 28, 2007, 03:44 UTC
- Message-ID
- <200703280544.47569.chriscool@tuxfamily.org>
- In-Reply-To
- <7vmz1zs0g5.fsf@assigned-by-dhcp.cox.net>
Le mardi 27 mars 2007 07:46, Junio C Hamano a écrit :
[...]
Show 7 quoted lines
> So our requirement to have at least one good commit is not a > fundamental one, but only a practical one. > > We could give an --immediate (or --no-good) option to 'git > bisect bad' to start bisecting as soon as you give a single bad > commit. It might turn out that the commits you test are bad all > the way down to the root commit, though ;-).
Yes, I plan to add some options to git bisect subcommands.
For example "git bisect run" could accept the following options:
--not mark current revision as bad instead of good and as good instead of bad
--strict all exit code except 0 and 1 abort the bisect run process
--good <rev1> --bad <rev2> use rev1 as good and rev2 as bad
--check or --test run the script once and then do nothing if the result is good
Are there other options that people want ?
Thanks, Christian.