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

Re: [PATCH] doc: documentation for http.uploadarchive config option

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 6, 2025, 14:04 UTC
Message-ID
<xmqqseorjhj4.fsf@gitster.g>
In-Reply-To
<pull.1885.git.git.1738790425046.gitgitgadget@gmail.com>
"Piotr Szlazak via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Piotr Szlazak <piotr.szlazak@gmail.com>
>
> In Git v2.44.0 support for 'git archive' over HTTP protocol
> was added, but it was nowhere documented how it should be
> enabled in git-http-backend.
Good eyes
> This commit adds needed information.
It is more customary to say something like:
    Add missing documentation.
around here.
Show 11 quoted lines
> diff --git a/Documentation/git-http-backend.txt b/Documentation/git-http-backend.txt
> index f37ddaded82..1dea4268520 100644
> --- a/Documentation/git-http-backend.txt
> +++ b/Documentation/git-http-backend.txt
> @@ -56,6 +56,10 @@ http.receivepack::
>  	disabled by setting this item to `false`, or enabled for all
>  	users, including anonymous users, by setting it to `true`.
>  
> +http.uploadarchive::
> +	This serves 'git archive' clients for remote archive over HTTP/HTTPS
> +	protocols. It is disabled by default. It only works in protocol v2.

The description looks good, from the correctness point-of-view, and its style is in line with other entries before it.

We may want to later consider moving these four http.* configuration variables somehow to Documentation/config/. directory so that it is shared across git-http-backend.1 and git-config.1 pages, but that is something we should leave outside the current effort.

Thanks.
Previous: Piotr Szlazak via GitGitGadgetNext: Piotr Szlazak
Message 2 of 4 in “doc: documentation for http.uploadarchive config option”
  1. doc: documentation for http.uploadarchive config optionPiotr Szlazak via GitGitGadget, Feb 5, 2025
  2. Junio C HamanoFeb 6, 2025
  3. Piotr SzlazakFeb 6, 2025
  4. doc: documentation for http.uploadarchive config optionPiotr Szlazak via GitGitGadget, Feb 6, 2025

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.