summaryrefslogtreecommitdiffstats
path: root/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-02 16:24:02 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-02 16:24:02 -0800
commit713eded4b878524e6c8e2b87abed95e2e5ddcd63 (patch)
tree5351578ade9a44843fabcab91aa6f74d57ec77c7 /config.txt
parent89c34e31f26757828e0e7c97339af64c42bd99fe (diff)
downloadgit-htmldocs-713eded4b878524e6c8e2b87abed95e2e5ddcd63.tar.gz
Autogenerated HTML docs for v2.6.3-444-gfd13a2
Diffstat (limited to 'config.txt')
-rw-r--r--config.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.txt b/config.txt
index 391a0c3c8..b4b01948d 100644
--- a/config.txt
+++ b/config.txt
@@ -2673,6 +2673,15 @@ You may also include a `!` in front of the ref name to negate the entry,
explicitly exposing it, even if an earlier entry marked it as hidden.
If you have multiple hideRefs values, later entries override earlier ones
(and entries in more-specific config files override less-specific ones).
++
+If a namespace is in use, the namespace prefix is stripped from each
+reference before it is matched against `transfer.hiderefs` patterns.
+For example, if `refs/heads/master` is specified in `transfer.hideRefs` and
+the current namespace is `foo`, then `refs/namespaces/foo/refs/heads/master`
+is omitted from the advertisements but `refs/heads/master` and
+`refs/namespaces/bar/refs/heads/master` are still advertised as so-called
+"have" lines. In order to match refs before stripping, add a `^` in front of
+the ref name. If you combine `!` and `^`, `!` must be specified first.
transfer.unpackLimit::
When `fetch.unpackLimit` or `receive.unpackLimit` are