We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4339c9f + 3247edb commit d1114d8Copy full SHA for d1114d8
sequencer.c
@@ -2948,9 +2948,9 @@ int rearrange_squash(void)
2948
if (fd < 0)
2949
res = error_errno(_("could not open '%s'"), todo_file);
2950
else if (write(fd, buf.buf, buf.len) < 0)
2951
- res = error_errno(_("could not read '%s'."), todo_file);
+ res = error_errno(_("could not write '%s'"), todo_file);
2952
else if (ftruncate(fd, buf.len) < 0)
2953
- res = error_errno(_("could not finish '%s'"),
+ res = error_errno(_("could not truncate '%s'"),
2954
todo_file);
2955
close(fd);
2956
strbuf_release(&buf);
0 commit comments