path: root/Documentation/git-credential-store.txt
diff options
authorJunio C Hamano <>2020-05-08 21:25:01 (GMT)
committerJunio C Hamano <>2020-05-08 21:25:01 (GMT)
commit933fdf8784d0fedaa259c6caf90115cfa7d21184 (patch)
treec92c2e07929b355ea35e337033fb0e5b54fb8785 /Documentation/git-credential-store.txt
parentf4675f3d47429ddaf1683dc978ffef341bffb4b5 (diff)
parentc03859a66525c6bdc5cd3c02b31f06cfdd80b595 (diff)
Merge branch 'cb/credential-store-ignore-bogus-lines'
With the recent tightening of the code that is used to parse various parts of a URL for use in the credential subsystem, a hand-edited credential-store file causes the credential helper to die, which is a bit too harsh to the users. Demote the error behaviour to just ignore and keep using well-formed lines instead. * cb/credential-store-ignore-bogus-lines: credential-store: ignore bogus lines from store file credential-store: document the file format a bit more
Diffstat (limited to 'Documentation/git-credential-store.txt')
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-credential-store.txt b/Documentation/git-credential-store.txt
index 693dd9d..76b0798 100644
--- a/Documentation/git-credential-store.txt
+++ b/Documentation/git-credential-store.txt
@@ -94,6 +94,10 @@ stored on its own line as a URL like:
+No other kinds of lines (e.g. empty lines or comment lines) are
+allowed in the file, even though some may be silently ignored. Do
+not view or edit the file with editors.
When Git needs authentication for a particular URL context,
credential-store will consider that context a pattern to match against
each entry in the credentials file. If the protocol, hostname, and