summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-16 14:40:30 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-16 14:40:30 -0800
commit787407e5e05ef5cc8bcf15ccae01cd34bfd90573 (patch)
treeaff7f83d30b3fae80b6d54aaa831b6cb098b86ad
parentf900c8326a43303685c46b279b9f70411bff1a4b (diff)
parent1ff88560c8d22bcdb528a6629239d638f927cb96 (diff)
downloadgit-787407e5e05ef5cc8bcf15ccae01cd34bfd90573.tar.gz
Merge branch 'maint'
* maint: credential-store: don't pass strerror to die_errno()
-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)