summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2015-12-16 12:22:55 +0100
committerJunio C Hamano <gitster@pobox.com>2015-12-16 10:27:12 -0800
commit87d01c854bf9860c8c21814c991f58652f6b4332 (patch)
tree28d3d70e7573102f5eeb385e5642cacdfd2b6a19
parent08a3651fe7f3163acbac461e0daf370329a1d332 (diff)
downloadgit-sg/lock-file-commit-error.tar.gz
credential-store: don't pass strerror to die_errno()sg/lock-file-commit-error
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--credential-store.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/credential-store.c b/credential-store.c
index fc67d16c10..54c4e04737 100644
--- a/credential-store.c
+++ b/credential-store.c
@@ -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)