]> Kevux Git Server - rit/commitdiff
docs: clarify that credential discards unrecognised attributes
authorM Hickford <mirth.hickford@gmail.com>
Mon, 24 Oct 2022 07:57:48 +0000 (07:57 +0000)
committerTaylor Blau <me@ttaylorr.com>
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 <mirth.hickford@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Documentation/git-credential.txt
Documentation/gitcredentials.txt

index f186730..ac2818b 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 80517b4..e856e3c 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