upload-pack: optionally allow fetching from the tips of hidden refs
[gitweb.git] / Documentation / config.txt
index 10be9ed90ea617c25d090abcd29cd3d611376a75..c23e59575b373f08b8f02e3ae66e4b5fe7116c31 100644 (file)
@@ -2083,7 +2083,13 @@ 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.
+       fetch` will fail.  See also `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`.
 
 url.<base>.insteadOf::
        Any URL that starts with this value will be rewritten to