]> git.99rst.org Git - git.git/commitdiff
docs: clarify that credential discards unrecognised attributes
authorM Hickford <redacted>
Mon, 24 Oct 2022 07:57:48 +0000 (07:57 +0000)
committerTaylor Blau <redacted>
Sun, 13 Nov 2022 04:57:34 +0000 (23:57 -0500)
It was previously unclear how unrecognised attributes are handled.

Signed-off-by: M Hickford <redacted>
Signed-off-by: Taylor Blau <redacted>
Documentation/git-credential.txt
Documentation/gitcredentials.txt

index f18673017f577f523b1190ce87ce2d448e4dbd70..ac2818b9f66778d02bce6f344bdc4ef88a2bd263 100644 (file)
@@ -160,6 +160,8 @@ empty string.
 Components which are missing from the URL (e.g., there is no
 username in the example above) will be left unset.
 
+Unrecognised attributes are silently discarded.
+
 GIT
 ---
 Part of the linkgit:git[1] suite
index 80517b4eb2cb259d7b99528902e3192db2f4166d..e856e3c83300265666950b6c1f199fc21a722561 100644 (file)
@@ -269,6 +269,7 @@ stdout in the same format (see linkgit:git-credential[1] for common
 attributes). A helper is free to produce a subset, or even no values at
 all if it has nothing useful to provide. Any provided attributes will
 overwrite those already known about by Git's credential subsystem.
+Unrecognised attributes are silently discarded.
 
 While it is possible to override all attributes, well behaving helpers
 should refrain from doing so for any attribute other than username and
git clone https://git.99rst.org/PROJECT