Skip to content

Commit bddfcce

Browse files
pszlazakttaylorr
authored andcommitted
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 <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent 34b6ce9 commit bddfcce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/config/uploadpack.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ uploadpack.allowReachableSHA1InWant::
2525
uploadpack.allowAnySHA1InWant::
2626
Allow `upload-pack` to accept a fetch request that asks for any
2727
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.
2933

3034
uploadpack.keepAlive::
3135
When `upload-pack` has started `pack-objects`, there may be a

0 commit comments

Comments
 (0)