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

Re: [PATCH 5/4] document 'allow-tip-sha1-in-want' capability

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 26, 2013, 15:36 UTC
Message-ID
<7vsiz12v19.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1374836514-17741-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 6 quoted lines
> See 390eb36 (upload-pack: optionally allow fetching from the tips of
> hidden refs - 2013-01-28) for more information.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  Maybe this too for completeness..

You are absolutely right, and this exists only on the fetch vs upload-pack side, so there is no need to update the introductory text and the change in this patch is sufficient and complete.

Thanks.
Show 18 quoted lines
>  Documentation/technical/protocol-capabilities.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt
> index ec131b6..31cbe07 100644
> --- a/Documentation/technical/protocol-capabilities.txt
> +++ b/Documentation/technical/protocol-capabilities.txt
> @@ -210,3 +210,10 @@ be shown when processing the received pack. A send-pack client should
>  respond with the 'quiet' capability to suppress server-side progress
>  reporting if the local progress reporting is also being suppressed
>  (e.g., via `push -q`, or if stderr does not go to a tty).
> +
> +allow-tip-sha1-in-want
> +----------------------
> +
> +If the upload-pack server advertises this capability, fetch-pack may
> +send "want" lines with SHA-1s that exist at the server but are not
> +advertised by upload-pack.
Previous: Nguyễn Thái Ngọc Duy
Message 9 of 9 in “Missing capabilities in Documentation/technical/protocol-capbilities.txt”
  1. Duy NguyenJul 15, 2013
  2. Clemens BuchacherJul 17, 2013
  3. 0/4 protocol-capabilities documentation updatesJeff King, Jul 24, 2013
  4. 1/4 docs: fix 'report-status' protocol capability thinkoJeff King, Jul 24, 2013
  5. 2/4 docs: note that receive-pack knows side-band-64k capabilityJeff King, Jul 24, 2013
  6. 3/4 document 'agent' protocol capabilityJeff King, Jul 24, 2013
  7. 4/4 document 'quiet' receive-pack capabilityJeff King, Jul 24, 2013
  8. 5/4 document 'allow-tip-sha1-in-want' capabilityNguyễn Thái Ngọc Duy, Jul 26, 2013
  9. Junio C HamanoJul 26, 2013

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.