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

Re: [RFC/PATCH] bisect: teach "skip" to accept special arguments like "A..B"

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 24, 2008, 07:09 UTC
Message-ID
<492A5346.1040405@viscovery.net>
In-Reply-To
<alpine.DEB.1.00.0811240126430.30769@pacific.mpi-cbg.de>
Johannes Schindelin schrieb:
Show 18 quoted lines
> On Sun, 23 Nov 2008, Christian Couder wrote:
>> 	Dscho wrote:
>> 	> Would it not be more intuitive to have support for
>> 	>
>>         > git bisect skip A..B
>> 	>
>> 	> ?
>>
>> 	Here is a patch to do that. I am not sure it's worth it
>> 	because this is a special case in many ways.
> 
> Why not have something like
> 
> 	skip)
> 		for arg in $(git rev-list "$@")
> 		do
> 			bisect_state skip $arg
> 		done
Because if you say
	$ git bisect skip
this would be incorrectly calling rev-list; but more importantly, if you say
	$ git bisect skip A
then this would skip A *and all its ancestors*. Not quite what you intended.
-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 5 in “bisect: teach "skip" to accept special arguments like "A..B"”
  1. bisect: teach "skip" to accept special arguments like "A..B"Christian Couder, Nov 23, 2008
  2. Johannes SchindelinNov 24, 2008
  3. Johannes SixtNov 24, 2008
  4. Johannes SchindelinNov 24, 2008
  5. Junio C HamanoNov 26, 2008

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.