Re: feature request - telling git bisect to skip, from inside a commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 28, 2011, 16:51 UTC
- Message-ID
- <7vipv31943.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110328163153.GA18774@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> That could work, though I would spell it as a pseudo-header: > > Bisect: Skip > > at the end of each commit.
I think that is a saner approach, and further say it would be much saner to make that token something like
Broken: does not build
A commit may or may not build, a build product may work in some areas just fine and may have known bugs in some other areas, depending on what kind of breakage you are interested in. You might even be looking for a change that fixed a bug for cherry picking. In short, "Bisect: Skip" is too broad a brush, and does not convey enough information.
And then teach the script you give to "bisect run" to grep for that "^Broken: " pattern to answer with exit 125 (cannot test), and you are done.