mirror of
https://github.com/git/git.git
synced 2025-02-06 23:32:14 +00:00
credential: correct order of parameters for credential_match
Since the beginning in 118250728e (credential: apply helper config, 2011-12-10), the declaration for that function used a different order than the implementation. All callers use the same order than the implementation, so update the declaration in credential.h to match. Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
7f53583834
commit
bb98765769
@ -189,7 +189,7 @@ void credential_write(const struct credential *, FILE *);
|
||||
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 *have,
|
||||
const struct credential *want);
|
||||
int credential_match(const struct credential *want,
|
||||
const struct credential *have);
|
||||
|
||||
#endif /* CREDENTIAL_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user