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>
maint
Piotr Szlazak 2024-10-19 16:39:57 +00:00 committed by Taylor Blau
parent 34b6ce9b30
commit bddfccead1
1 changed files with 5 additions and 1 deletions

View 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