1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

credential-store: don't pass strerror to die_errno()

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
SZEDER Gábor 2015-12-16 12:22:55 +01:00 committed by Junio C Hamano
parent 08a3651fe7
commit 87d01c854b

View File

@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
print_line(extra);
parse_credential_file(fn, c, NULL, print_line);
if (commit_lock_file(&credential_lock) < 0)
die_errno("unable to write credential store: %s",
strerror(errno));
die_errno("unable to write credential store");
}
static void store_credential_file(const char *fn, struct credential *c)