]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: document how uploadpack.allowAnySHA1InWant impact other allow options
authorPiotr Szlazak <piotr.szlazak@gmail.com>
Sat, 19 Oct 2024 16:39:57 +0000 (16:39 +0000)
committerTaylor Blau <me@ttaylorr.com>
Mon, 21 Oct 2024 19:49:35 +0000 (15:49 -0400)
Document how setting of `uploadpack.allowAnySHA1InWant`
influences other `uploadpack` options - `allowTipSHA1InWant`
and `allowReachableSHA1InWant`.

Signed-off-by: Piotr Szlazak <piotr.szlazak@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Documentation/config/uploadpack.txt

index 16264d82a722ec01d2af662613657715e99b7bf9..0e1dda944a5490b5a6e029030ce2ec82d11ecfe0 100644 (file)
@@ -25,7 +25,11 @@ uploadpack.allowReachableSHA1InWant::
 uploadpack.allowAnySHA1InWant::
        Allow `upload-pack` to accept a fetch request that asks for any
        object at all.
-       Defaults to `false`.
+       It implies `uploadpack.allowTipSHA1InWant` and
+       `uploadpack.allowReachableSHA1InWant`. If set to `true` it will
+       enable both of them, it set to `false` it will disable both of
+       them.
+       By default not set.
 
 uploadpack.keepAlive::
        When `upload-pack` has started `pack-objects`, there may be a