doc: documentation for http.uploadarchive config option

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Piotr Szlazak
2025-02-06 17:45:27 +00:00
committed by Junio C Hamano
parent bc204b7427
commit dd1eb665ef

View File

@ -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'