From: Josh Steadmon <steadmon@google.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org, jrnieder@gmail.com
Subject: Re: [PATCH v2] protocol-capabilities.txt: document symref
Date: Tue, 19 Feb 2019 16:32:48 -0800 [thread overview]
Message-ID: <20190220003248.GA160251@google.com> (raw)
In-Reply-To: <20190214035602.GA7209@sigill.intra.peff.net>
On 2019.02.13 22:56, Jeff King wrote:
> 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!
next prev parent reply other threads:[~2019-02-20 0:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-11 23:52 [PATCH] protocol-capabilities.txt: document symref Josh Steadmon
2019-02-11 23:58 ` Jonathan Nieder
2019-02-12 0:05 ` Jeff King
2019-02-12 0:07 ` Josh Steadmon
2019-02-13 23:41 ` [PATCH v2] " Josh Steadmon
2019-02-14 3:56 ` Jeff King
2019-02-20 0:32 ` Josh Steadmon [this message]
2019-02-21 17:38 ` Junio C Hamano
2019-02-20 0:32 ` [PATCH v3] " Josh Steadmon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190220003248.GA160251@google.com \
--to=steadmon@google.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).