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

Re: [PATCH v2] protocol-capabilities.txt: document symref

From
Josh Steadmon <steadmon@google.com>
Date
Feb 20, 2019, 00:32 UTC
Message-ID
<20190220003248.GA160251@google.com>
In-Reply-To
<20190214035602.GA7209@sigill.intra.peff.net>
On 2019.02.13 22:56, Jeff King wrote:
Show 36 quoted lines
> On Wed, Feb 13, 2019 at 03:41:28PM -0800, Josh Steadmon wrote:
> 
> > ---
> > Range-diff against v1:
> > 1:  4ffb11ff77 ! 1:  cb1b2834b7 protocol-capabilities.txt: document symref
> >     @@ -12,6 +12,17 @@
> >       diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt
> >       --- a/Documentation/technical/protocol-capabilities.txt
> >       +++ b/Documentation/technical/protocol-capabilities.txt
> >     +@@
> >     + Git Protocol Capabilities
> >     + =========================
> >     + 
> >     ++NOTE: this document describes capabilities for versions 0 and 1 of the pack
> >     ++protocol. For version 2, please refer to the link:protocol-v2.html[protocol-v2]
> >     ++doc.
> >     ++
> >     + Servers SHOULD support all capabilities defined in this document.
> >     + 
> >     + On the very first line of the initial server response of either
> 
> I think this makes sense. I wondered to what degree the v2 protocol doc
> may say "...and you can use capabilities from protocol-capabilities.txt
> here". But it doesn't. It newly lists the capabilities, which makes this
> paragraph the right thing to say.
> 
> It does mean that if we teach v1 a new capability, we'll have to
> document it in both places. But moving forward, we'd hopefully not be
> doing that too often (I haven't seen talk of flipping the v2 switch yet
> by default, but obviously that's where we want to end up).
> 
> I probably would have put this in its own patch, but barring that we
> should probably at least mention in the commit message what this
> paragraph is doing here.
> 
> -Peff
Done in V3. Thanks!
Previous: Jeff KingNext: Junio C Hamano
Message 7 of 9 in “protocol-capabilities.txt: document symref”
  1. protocol-capabilities.txt: document symrefJosh Steadmon, Feb 11, 2019
  2. Jonathan NiederFeb 11, 2019
  3. Jeff KingFeb 12, 2019
  4. Josh SteadmonFeb 12, 2019
  5. protocol-capabilities.txt: document symrefJosh Steadmon, Feb 13, 2019
  6. Jeff KingFeb 14, 2019
  7. Josh SteadmonFeb 20, 2019
  8. Junio C HamanoFeb 21, 2019
  9. protocol-capabilities.txt: document symrefJosh Steadmon, Feb 20, 2019

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.