mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
sequencer.c: unify an error message
Change an error message in sequencer.c for the case that we could not write to a file to match other instances. Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3247edbb1a
commit
27f90c25a0
|
@ -2926,7 +2926,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 a new issue