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

Re* [ANNOUNCE] Git v2.27.0-rc1

From
Junio C Hamano <gitster@pobox.com>
Date
May 20, 2020, 20:31 UTC
Message-ID
<xmqq5zcquz4t.fsf_-_@gitster.c.googlers.com>
In-Reply-To
<20200520193156.GA4700@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 29 quoted lines
> On Wed, May 20, 2020 at 12:17:11PM -0700, Junio C Hamano wrote:
>
>> Git 2.27 Release Notes (draft)
>> ==============================
>> 
>> Updates since v2.26
>> -------------------
>> 
>> Backward compatibility notes
>
> Is it worth mentioning here the reversion of v2 as the default protocol?
>
> It does end up (along with the actual code fix) in the "fixes from
> v2.26" section:
>
>>  * Those fetching over protocol v2 from linux-next and other kernel
>>    repositories are reporting that v2 often fetches way too much than
>>    needed.
>>    (merge 11c7f2a30b jn/demote-proto2-from-default later to maint).
>> 
>>  * The upload-pack protocol v2 gave up too early before finding a
>>    common ancestor, resulting in a wasteful fetch from a fork of a
>>    project.  This has been corrected to match the behaviour of v0
>>    protocol.
>>    (merge 2f0a093dd6 jt/v2-fetch-nego-fix later to maint).
>
> but that's somewhat buried. I dunno. It is not likely to introduce _new_
> compatibility issues, but perhaps folks looking into compatibility stuff
> may want to know about the revert.

The promotion in Git 2.26 was buried in the "performance & implementation details" section and not in the backward compatibility section, so it feels a bit funny to highlight the reversion. In any case, here is what I prepared (but not committed yet)

-- >8 --
Subject: [PATCH] RelNotes: advertise the demotion of protocol v2

In the upcoming release, the transport protocol v2 is no longer the default; note it in the backward compatibility section.

Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/RelNotes/2.27.0.txt | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/RelNotes/2.27.0.txt b/Documentation/RelNotes/2.27.0.txt
index 5fb8c0cf67..95a8d338ad 100644
--- a/Documentation/RelNotes/2.27.0.txt
+++ b/Documentation/RelNotes/2.27.0.txt
@@ -24,6 +24,10 @@ Backward compatibility notes
    users may find annoying---those who prefer not to rebase need to
    set the variable to false to squelch the warning.
 
+ * The transport protocol version 2, which was promoted to the default
+   in Git 2.26 release, turned out to have some remaining rough edges,
+   so it has been demoted from the default.
+
 
 UI, Workflows & Features
 
Previous: Junio C HamanoNext: Jeff King
Message 4 of 15 in “[ANNOUNCE] Git v2.27.0-rc1”
  1. Junio C HamanoMay 20, 2020
  2. Jeff KingMay 20, 2020
  3. Junio C HamanoMay 20, 2020
  4. Re* [ANNOUNCE] Git v2.27.0-rc1Junio C Hamano, May 20, 2020
  5. Jeff KingMay 20, 2020
  6. Protocol v2 in v2.27 (Re: Re* [ANNOUNCE] Git v2.27.0-rc1)Jonathan Nieder, May 20, 2020
  7. Junio C HamanoMay 20, 2020
  8. Jeff KingMay 21, 2020
  9. Jonathan NiederMay 21, 2020
  10. Carlo Marcelo Arenas BelónMay 21, 2020
  11. Jonathan NiederMay 21, 2020
  12. Carlo Marcelo Arenas BelónMay 21, 2020
  13. Derrick StoleeMay 21, 2020
  14. Junio C HamanoMay 21, 2020
  15. Junio C HamanoMay 21, 2020

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.