diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-06-01 12:45:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-01 12:45:19 -0700 |
commit | a9d34933803198f89ad721ee17f138b046131090 (patch) | |
tree | 4d798909f9f3e6b892b9625879051d7eec9d3073 /Documentation/config.txt | |
parent | 6dec263333417738528089834bd8cda72017aa31 (diff) | |
parent | 68ee628932c2196742b77d2961c5e16360734a62 (diff) | |
download | git-a9d34933803198f89ad721ee17f138b046131090.tar.gz git-a9d34933803198f89ad721ee17f138b046131090.tar.xz |
Merge branch 'fm/fetch-raw-sha1'
"git upload-pack" that serves "git fetch" can be told to serve
commits that are not at the tip of any ref, as long as they are
reachable from a ref, with uploadpack.allowReachableSHA1InWant
configuration variable.
* fm/fetch-raw-sha1:
upload-pack: optionally allow fetching reachable sha1
upload-pack: prepare to extend allow-tip-sha1-in-want
config.txt: clarify allowTipSHA1InWant with camelCase
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 5f76e8cf4..4d21ce164 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -2558,14 +2558,20 @@ uploadpack.hideRefs:: are under the hierarchies listed on the value of this variable is excluded, and is hidden from `git ls-remote`, `git fetch`, etc. An attempt to fetch a hidden ref by `git - fetch` will fail. See also `uploadpack.allowtipsha1inwant`. + fetch` will fail. See also `uploadpack.allowTipSHA1InWant`. -uploadpack.allowtipsha1inwant:: +uploadpack.allowTipSHA1InWant:: When `uploadpack.hideRefs` is in effect, allow `upload-pack` to accept a fetch request that asks for an object at the tip of a hidden ref (by default, such a request is rejected). see also `uploadpack.hideRefs`. +uploadpack.allowReachableSHA1InWant:: + Allow `upload-pack` to accept a fetch request that asks for an + object that is reachable from any ref tip. However, note that + calculating object reachability is computationally expensive. + Defaults to `false`. + uploadpack.keepAlive:: When `upload-pack` has started `pack-objects`, there may be a quiet period while `pack-objects` prepares the pack. Normally |