Skip to content

Commit

Permalink
Merge branch 'sg/lock-file-commit-error' into maint
Browse files Browse the repository at this point in the history
* sg/lock-file-commit-error:
  credential-store: don't pass strerror to die_errno()
  • Loading branch information
Junio C Hamano committed Dec 16, 2015
2 parents 1aaf149 + 87d01c8 commit 1ff8856
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions credential-store.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ff8856

Please sign in to comment.