mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
Merge branch 'js/rebase-i-final'
Error message fix. * js/rebase-i-final: sequencer.c: unify an error message
This commit is contained in:
commit
570676e011
@ -2948,7 +2948,7 @@ int rearrange_squash(void)
|
||||
if (fd < 0)
|
||||
res = error_errno(_("could not open '%s'"), todo_file);
|
||||
else if (write(fd, buf.buf, buf.len) < 0)
|
||||
res = error_errno(_("could not write '%s'"), todo_file);
|
||||
res = error_errno(_("could not write to '%s'"), todo_file);
|
||||
else if (ftruncate(fd, buf.len) < 0)
|
||||
res = error_errno(_("could not truncate '%s'"),
|
||||
todo_file);
|
||||
|
Loading…
Reference in New Issue
Block a user