summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 13:58:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-21 13:58:00 (GMT)
commit871955c797069c3f8d0f36dc75f90a2450f22c83 (patch)
tree91c8441d14a2330c2246c0200440bca06fd52887 /Documentation
parent75266b4e8bc032edd237e938aae93b67d7638768 (diff)
parent4ba3c9be47a0132fd0ba9bb04db7842c3b4967b2 (diff)
downloadgit-871955c797069c3f8d0f36dc75f90a2450f22c83.zip
git-871955c797069c3f8d0f36dc75f90a2450f22c83.tar.gz
git-871955c797069c3f8d0f36dc75f90a2450f22c83.tar.bz2
Merge branch 'dz/credential-doc-url-matching-rules' into maint
Doc update. * dz/credential-doc-url-matching-rules: doc: clarify gitcredentials path component matching
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gitcredentials.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt
index f970196..adc7596 100644
--- a/Documentation/gitcredentials.txt
+++ b/Documentation/gitcredentials.txt
@@ -133,6 +133,12 @@ compares hostnames exactly, without considering whether two hosts are part of
the same domain. Likewise, a config entry for `http://example.com` would not
match: Git compares the protocols exactly.
+If the "pattern" URL does include a path component, then this too must match
+exactly: the context `https://example.com/bar/baz.git` will match a config
+entry for `https://example.com/bar/baz.git` (in addition to matching the config
+entry for `https://example.com`) but will not match a config entry for
+`https://example.com/bar`.
+
CONFIGURATION OPTIONS
---------------------