doc: document how uploadpack.allowAnySHA1InWant impact other allow options
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>
Piotr Szlazak committed
Oct 19, 2024 at 16:39 UTC
bddfccead1f4a94f4029d1efeacaed0d23e2fbb4
1 file changed
+5
-1
Documentation/config/uploadpack.txt
+5
-1
@@ -25,7 +25,11 @@ uploadpack.allowReachableSHA1InWant::
25
uploadpack.allowAnySHA1InWant::
26
Allow `upload-pack` to accept a fetch request that asks for any
27
object at all.
28
- Defaults to `false`.
28
+ It implies `uploadpack.allowTipSHA1InWant` and
29
+ `uploadpack.allowReachableSHA1InWant`. If set to `true` it will
30
+ enable both of them, it set to `false` it will disable both of
31
+ them.
32
+ By default not set.
33
34
uploadpack.keepAlive::
35
When `upload-pack` has started `pack-objects`, there may be a