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

Re: Bug report: ":/[text]" revision reference no longer returns youngest commit

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Dec 15, 2024, 12:25 UTC
Message-ID
<ddc10a19-f8fc-4532-90b0-5485d5126bd7@app.fastmail.com>
In-Reply-To
<CADFnu5sMEvGyGy7xH1r0NGBUZJBznCi0waJ_bJ3tSHQ5Y2yX1Q@mail.gmail.com>
Hi
On Sun, Dec 15, 2024, at 12:51, Oliver Blanthorn wrote:
Show 15 quoted lines
> What did you do before the bug happened? (Steps to reproduce your issue)
>
> `git show :/Merge` in git's git repo
>
>
>
> What did you expect to happen? (Expected behavior)
>
> The most recent commit matching the text "Merge" should have appeared
>
>
>
> What happened instead? (Actual behavior)
>
> A commit from 19 years ago appeared
This has been reported here
https://lore.kernel.org/git/CAKOEJdcPYn3O01p29rVa+xv=Qr504FQyKJeSB-Moze04ViCGGg@mail.gmail.com/
The patch is here
https://lore.kernel.org/git/20241206-pks-rev-parse-fix-reversed-list-v3-1-d934c17db168@pks.im/
Previous: Oliver BlanthornNext: Junio C Hamano
Message 2 of 4 in “Bug report: ":/[text]" revision reference no longer returns youngest commit”
  1. Oliver BlanthornDec 15, 2024
  2. Kristoffer HaugsbakkDec 15, 2024
  3. Junio C HamanoDec 15, 2024
  4. Junio C HamanoDec 15, 2024

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.