Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 10:16:05 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-16 10:16:05 +0300
commit3c8bf8cc148cf8afbd2410f4d1b767191d3b8648 (patch)
tree16b355b8a59f5446a739e1afb087bf766a3cdb4d
parent98f3f007f520de518c732c74085234dede144926 (diff)
parent4ba3c9be47a0132fd0ba9bb04db7842c3b4967b2 (diff)
Merge branch 'dz/credential-doc-url-matching-rules'
Doc update. * dz/credential-doc-url-matching-rules: doc: clarify gitcredentials path component matching
-rw-r--r--Documentation/gitcredentials.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt
index f970196bc1..adc759612d 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
---------------------