Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
credential-store: don't pass strerror to die_errno()
author
SZEDER Gábor
<szeder@ira.uka.de>
Wed, 16 Dec 2015 11:22:55 +0000
(12:22 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 16 Dec 2015 18:27:12 +0000
(10:27 -0800)
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential-store.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
08a3651
)
diff --git
a/credential-store.c
b/credential-store.c
index fc67d16c10882bf543bd521d2f6dfee8d3c4d213..54c4e047373757598f6de7bf994251f0169b2b38 100644
(file)
--- 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)