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

Re: [ANNOUNCE] Git v2.20.0-rc2

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 4, 2018, 19:39 UTC
Message-ID
<87in09ytd2.fsf@evledraar.gmail.com>
In-Reply-To
<xmqq36rhjnts.fsf@gitster-ct.c.googlers.com>
On Sat, Dec 01 2018, Junio C Hamano wrote:
>  * "git ls-remote $there foo" was broken by recent update for the
>    protocol v2 and stopped showing refs that match 'foo' that are not
>    refs/{heads,tags}/foo, which has been fixed.
>    (merge 6a139cdd74 jk/proto-v2-ref-prefix-fix later to maint).

I started bisecting this thinking it was a regression, but found that the reason the instructions in the protocol v2 announcement[1] don't work anymore is because of it was due to 631f0f8c4b ("ls-remote: do not send ref prefixes for patterns", 2018-10-31).

Perhaps we should note this more prominently, and since Brandon isn't at Google anymore can some of you working there edit this post? It's the first Google result for "git protocol v2", so it's going to be quite confusing for people if after 2.20 the instructions in it no longer work.

1. https://opensource.googleblog.com/2018/05/introducing-git-protocol-version-2.html
Previous: Johannes SchindelinNext: Stefan Beller
Message 14 of 16 in “[ANNOUNCE] Git v2.20.0-rc2”
  1. Junio C HamanoDec 1, 2018
  2. 0/3 Re: [ANNOUNCE] Git v2.20.0-rc2Martin Ågren, Dec 3, 2018
  3. 1/3 RelNotes 2.20: move some items between sectionsMartin Ågren, Dec 3, 2018
  4. Junio C HamanoDec 4, 2018
  5. Martin ÅgrenDec 4, 2018
  6. 1/3 RelNotes 2.20: move some items between sectionsMartin Ågren, Dec 4, 2018
  7. 2/3 RelNotes 2.20: clarify sentenceMartin Ågren, Dec 4, 2018
  8. 3/3 RelNotes 2.20: drop spurious double quoteMartin Ågren, Dec 4, 2018
  9. 2/3 RelNotes 2.20: clarify sentenceMartin Ågren, Dec 3, 2018
  10. Junio C HamanoDec 4, 2018
  11. 3/3 RelNotes 2.20: drop spurious double quoteMartin Ågren, Dec 3, 2018
  12. Junio C HamanoDec 4, 2018
  13. Johannes SchindelinDec 3, 2018
  14. Ævar Arnfjörð BjarmasonDec 4, 2018
  15. Stefan BellerDec 5, 2018
  16. Jeff KingDec 5, 2018

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.