diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-12-16 10:27:22 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-12-16 10:27:22 -0800 |
commit | 1ff88560c8d22bcdb528a6629239d638f927cb96 (patch) | |
tree | cea4dd7b0991efd24272b40b1727128fa3d5d41c | |
parent | 1aaf14975709c069a87c2673551296a6eb3f82c5 (diff) | |
parent | 87d01c854bf9860c8c21814c991f58652f6b4332 (diff) | |
download | git-1ff88560c8d22bcdb528a6629239d638f927cb96.tar.gz git-1ff88560c8d22bcdb528a6629239d638f927cb96.tar.xz |
Merge branch 'sg/lock-file-commit-error' into maint
* sg/lock-file-commit-error:
credential-store: don't pass strerror to die_errno()
-rw-r--r-- | credential-store.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/credential-store.c b/credential-store.c index fc67d16c1..54c4e0473 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) |