mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
Merge branch 'sg/lock-file-commit-error' into maint
* sg/lock-file-commit-error: credential-store: don't pass strerror to die_errno()
This commit is contained in:
commit
1ff88560c8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue