Skip to content

Commit bb98765

Browse files
carenasgitster
authored andcommitted
credential: correct order of parameters for credential_match
Since the beginning in 1182507 (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 <[email protected]> Signed-off-by: Carlo Marcelo Arenas Belón <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7f53583 commit bb98765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

credential.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void credential_write(const struct credential *, FILE *);
189189
void credential_from_url(struct credential *, const char *url);
190190
int credential_from_url_gently(struct credential *, const char *url, int quiet);
191191

192-
int credential_match(const struct credential *have,
193-
const struct credential *want);
192+
int credential_match(const struct credential *want,
193+
const struct credential *have);
194194

195195
#endif /* CREDENTIAL_H */

0 commit comments

Comments
 (0)