Skip to content

Commit 35a62bb

Browse files
committed
Merge branch 'mh/credential-unrecognized-attrs'
Docfix. * mh/credential-unrecognized-attrs: docs: clarify that credential discards unrecognised attributes
2 parents a92fce4 + 7fd54b6 commit 35a62bb

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
@@ -270,6 +270,7 @@ stdout in the same format (see linkgit:git-credential[1] for common
270270
attributes). A helper is free to produce a subset, or even no values at
271271
all if it has nothing useful to provide. Any provided attributes will
272272
overwrite those already known about by Git's credential subsystem.
273+
Unrecognised attributes are silently discarded.
273274

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

0 commit comments

Comments
 (0)