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

Re: git bisect fails to handle annotated tags

From
Jeff King <peff@peff.net>
Date
Mar 16, 2021, 14:53 UTC
Message-ID
<YFDGX4EsrvHqZgPF@coredump.intra.peff.net>
In-Reply-To
<878s6nz1sg.fsf@igel.home>
On Tue, Mar 16, 2021 at 02:05:51PM +0100, Andreas Schwab wrote:
Show 6 quoted lines
> $ git --version
> git version 2.31.0
> $ git bisect start
> $ git bisect good v2.30.0
> $ git bisect bad v2.31.0
> 3e90d4b58f3819cfd58ac61cb8668e83d3ea0563 was both good and bad

Looks like it bisects to 27257bc466 (bisect--helper: reimplement `bisect_state` & `bisect_head` shell functions in C, 2020-10-15), which isn't too surprising. So it broke in v2.30, but nobody seems to have noticed during the last cycle.

I'd guess it's just missing a call to peel the input oid.
-Peff
Previous: Andreas SchwabNext: Jeff King
Message 2 of 5 in “git bisect fails to handle annotated tags”
  1. Andreas SchwabMar 16, 2021
  2. Jeff KingMar 16, 2021
  3. bisect: peel annotated tags to commitsJeff King, Mar 16, 2021
  4. Bagas SanjayaMar 17, 2021
  5. Junio C HamanoMar 17, 2021

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.