Re: [PATCH v2] bisect: improve output when bad commit is found
- From
Jeff King <peff@peff.net>
- Date
- May 13, 2015, 21:42 UTC
- Message-ID
- <20150513214228.GA17350@peff.net>
- In-Reply-To
- <CAP8UFD14LuyaVcoNHxR00ZeGgHWXbuW_QdVf4YqZWzgMdufUjQ@mail.gmail.com>
On Wed, May 13, 2015 at 11:39:41AM +0200, Christian Couder wrote:
Show 10 quoted lines
> > It is not clear to me that people are actually scripting around the > > output. Between the exit code and the stable output in BISECT_LOG, that > > seems like a much more preferable way for scripted uses to find out what > > happened. > > > > Of course, that is not a guarantee that nobody scraped stderr, but at > > least it makes me feel better that they're Doing It Wrong. :) > > Aren't we sending the "XXXX is the first bad commit" and the diff-tree > to stdout?
Good point. I'm much more sympathetic to people scraping stdout than stderr. I do still think we would do better to direct them to more robust formats, though.
-Peff