git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: "bisect run" can be given bangs before the run script.

From
Junio C Hamano <junkio@cox.net>
Date
May 3, 2007, 05:29 UTC
Message-ID
<7vmz0m3261.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070503070607.fa2ffe92.chriscool@tuxfamily.org>

I am not convinced that '!' is a good extension for two and half reasons.

 * The expected use is not quite clear.  If it is not used to
   run a custom test script but something stock as "make", by
   the nature of UNIX exit status convention, you are looking
   for the commit that _fixed_ some breakage (i.e. "which commit
   fixed the compilation error?").  While sometimes that is a
   useful thing to do, it feels somewhat of limited value.
   On the other hand, if you are running a custom test script, I
   do not think it is unreasonable to always require that a test
   script to signal "bad" with small non-zero, "good" with zero,
   and error with high non-zero status, as we already do.
 * How should this interact with the "high non-zero status means
   an error and we cannot bisect" return convention?
 * I was hoping that we can officially support "don't know,
   cannot test this one, please give me another" for interactive
   use, and at the same time allow the run-script used by
   "git bisect run" to signal such with a special exit value
   (perhaps "exit 42").  Taken together with the previous point,
   it is not clear how '!' should interact with such an
   enhancement.
Previous: Christian CouderNext: Uwe Kleine-König
Message 2 of 4 in “Documentation: "bisect run" can be given bangs before the run script.”
  1. Documentation: "bisect run" can be given bangs before the run script.Christian Couder, May 3, 2007
  2. Junio C HamanoMay 3, 2007
  3. Uwe Kleine-KönigMay 3, 2007
  4. Christian CouderMay 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.