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

From: Junio C Hamano <[email-masked]>
Date: Sun, 15 Dec 2024 09:43:23 -0800

Oliver Blanthorn <[email-masked]> writes:

> 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

Thanks for a well written report.  I think this is the same breakage
reported in *1*, which was fixed with *2*.  Hopefully the fix will
be part of the upcoming Git 2.48, scheduled soon after the new year.

[References]

 *1* https://lore.kernel.org/git/CAKOEJdcPYn3O01p29rVa+xv=[email-masked]/

 *2* https://lore.kernel.org/git/[email-masked]