From: Carlo Marcelo Arenas Belón Date: Tue, 5 May 2020 01:39:06 +0000 (-0700) Subject: credential: correct order of parameters for credential_match X-Git-Tag: v2.27.0-rc0~20^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb987657690b447ae9162ef3a5841d26eb82d806;p=thirdparty%2Fgit.git 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 Signed-off-by: Carlo Marcelo Arenas Belón Signed-off-by: Junio C Hamano --- diff --git a/credential.h b/credential.h index f51703d9ce..c0e17e3554 100644 --- a/credential.h +++ b/credential.h @@ -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 */