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
Junio C Hamano <gitster@pobox.com>
Date
Nov 26, 2008, 05:42 UTC
Message-ID
<7viqqbhwl9.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20081123220249.2e7f30a5.chriscool@tuxfamily.org>
Christian Couder <chriscool@tuxfamily.org> writes:
Show 13 quoted lines
> The current "git bisect skip" syntax is "git bisect skip [<rev>...]"
> so it's already possible to skip a range of revisions using
> something like:
>
> $ git bisect skip $(git rev-list A..B)
>
> where A and B are the bounds of the range we want to skip.
>
> This patch teaches "git bisect skip" to accept:
>
> $ git bisect skip A..B
>
> as an abbreviation for the former command.

Although I fully realize that the established semantics of A..B in git is bottom-exclusive, top-inclusive, and this suggestion breaks the UI uniformity by deviating from that convention, I have to wonder if it would be more useful if you let the bottom commit (A in your example) also be skipped.

I would suspect that it would be more useful than the "replace" one, but that is a separate issue.

Previous: Johannes Schindelin
Message 5 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.