summaryrefslogtreecommitdiff
path: root/credential.h
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2020-05-05 01:39:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-05 05:56:33 (GMT)
commitbb987657690b447ae9162ef3a5841d26eb82d806 (patch)
tree54951abd95a4a658a5e03d431fcdd6425eed71f5 /credential.h
parent7f53583834f991eadcc371932e117317cb3c65c5 (diff)
downloadgit-bb987657690b447ae9162ef3a5841d26eb82d806.zip
git-bb987657690b447ae9162ef3a5841d26eb82d806.tar.gz
git-bb987657690b447ae9162ef3a5841d26eb82d806.tar.bz2
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>
Diffstat (limited to 'credential.h')
-rw-r--r--credential.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/credential.h b/credential.h
index f51703d..c0e17e3 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 */