Skip to content

Commit aabbcf2

Browse files
committed
Merge branch 'ps/upload-pack-doc'
Documentation update to clarify that 'uploadpack.allowAnySHA1InWant' implies both 'allowTipSHA1InWant' and 'allowReachableSHA1InWant'. * ps/upload-pack-doc: doc: document how uploadpack.allowAnySHA1InWant impact other allow options
2 parents 07c6066 + bddfcce commit aabbcf2

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)