Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
sequencer.c: unify an error message
author
Ralf Thielow
<ralf.thielow@gmail.com>
Tue, 17 Oct 2017 16:20:50 +0000
(18:20 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 17 Oct 2017 21:08:29 +0000
(06:08 +0900)
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>
sequencer.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3247edb
)
diff --git
a/sequencer.c
b/sequencer.c
index 961a222506cbaa5f0e452666dbe5ee9f87025505..04c9512f57cd9a67aabafbc878b7e856c28f1366 100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-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);