From 7fd54b6238e5802147a5ca259c3b5e6b8e06471d Mon Sep 17 00:00:00 2001 From: M Hickford Date: Mon, 24 Oct 2022 07:57:48 +0000 Subject: docs: clarify that credential discards unrecognised attributes It was previously unclear how unrecognised attributes are handled. Signed-off-by: M Hickford Signed-off-by: Taylor Blau --- Documentation/gitcredentials.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/gitcredentials.txt') diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt index 80517b4eb2..e856e3c833 100644 --- a/Documentation/gitcredentials.txt +++ b/Documentation/gitcredentials.txt @@ -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 -- cgit v1.2.3