mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
credential: avoid erasing distinct password
Test that credential helpers do not erase a password distinct from the input. Such calls can happen when multiple credential helpers are configured. Fixes for credential-cache and credential-store. Signed-off-by: M Hickford <mirth.hickford@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
fe86abd751
commit
aeb21ce22e
@@ -211,6 +211,6 @@ void credential_from_url(struct credential *, const char *url);
|
||||
int credential_from_url_gently(struct credential *, const char *url, int quiet);
|
||||
|
||||
int credential_match(const struct credential *want,
|
||||
const struct credential *have);
|
||||
const struct credential *have, int match_password);
|
||||
|
||||
#endif /* CREDENTIAL_H */
|
||||
|
||||
Reference in New Issue
Block a user