git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Piotr Szlazak via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Jiang Xin <zhiyou.jx@alibaba-inc.com>, Jeff King <peff@peff.net>,
	Piotr Szlazak <piotr.szlazak@gmail.com>,
	Piotr Szlazak <piotr.szlazak@gmail.com>
Subject: [PATCH v2] doc: documentation for http.uploadarchive config option
Date: Thu, 06 Feb 2025 17:45:27 +0000	[thread overview]
Message-ID: <pull.1885.v2.git.git.1738863927849.gitgitgadget@gmail.com> (raw)
In-Reply-To: <pull.1885.git.git.1738790425046.gitgitgadget@gmail.com>

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.

Add missing documentation.

Signed-off-by: Piotr Szlazak <piotr.szlazak@gmail.com>
---
    doc: documentation for http.uploadarchive config option

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1885%2Fpszlazak%2Fdocument-http-uploadarchive-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1885/pszlazak/document-http-uploadarchive-v2
Pull-Request: https://github.com/git/git/pull/1885

Range-diff vs v1:

 1:  4a5465d0329 ! 1:  ace5e71729c doc: documentation for http.uploadarchive config option
     @@ Commit message
          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.
     -    This commit adds needed information.
     +
     +    Add missing documentation.
      
          Signed-off-by: Piotr Szlazak <piotr.szlazak@gmail.com>
      


 Documentation/git-http-backend.txt | 4 ++++
 1 file changed, 4 insertions(+)

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.
+
 URL TRANSLATION
 ---------------
 To determine the location of the repository on disk, 'git http-backend'

base-commit: bc204b742735ae06f65bb20291c95985c9633b7f
-- 
gitgitgadget

      parent reply	other threads:[~2025-02-06 17:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-05 21:20 [PATCH] doc: documentation for http.uploadarchive config option Piotr Szlazak via GitGitGadget
2025-02-06 14:04 ` Junio C Hamano
2025-02-06 17:54   ` Piotr Szlazak
2025-02-06 17:45 ` Piotr Szlazak via GitGitGadget [this message]

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=pull.1885.v2.git.git.1738863927849.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    --cc=piotr.szlazak@gmail.com \
    --cc=zhiyou.jx@alibaba-inc.com \
    /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).