Skip to content

Commit 7fd54b6

Browse files
hickfordttaylorr
authored andcommitted
docs: clarify that credential discards unrecognised attributes
It was previously unclear how unrecognised attributes are handled. Signed-off-by: M Hickford <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent 319605f commit 7fd54b6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Documentation/git-credential.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ empty string.
160160
Components which are missing from the URL (e.g., there is no
161161
username in the example above) will be left unset.
162162

163+
Unrecognised attributes are silently discarded.
164+
163165
GIT
164166
---
165167
Part of the linkgit:git[1] suite

Documentation/gitcredentials.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ stdout in the same format (see linkgit:git-credential[1] for common
269269
attributes). A helper is free to produce a subset, or even no values at
270270
all if it has nothing useful to provide. Any provided attributes will
271271
overwrite those already known about by Git's credential subsystem.
272+
Unrecognised attributes are silently discarded.
272273

273274
While it is possible to override all attributes, well behaving helpers
274275
should refrain from doing so for any attribute other than username and

0 commit comments

Comments
 (0)