aboutsummaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorRalf Thielow <ralf.thielow@gmail.com>2017-10-17 18:20:50 +0200
committerJunio C Hamano <gitster@pobox.com>2017-10-18 06:08:29 +0900
commit27f90c25a0280ec688956d6eacbb8ecc702ee240 (patch)
tree252168bcd538fde4bde490d1dab7be8743ebc907 /sequencer.c
parent3247edbb1a8218f9c65f09a25d46572b224d096b (diff)
downloadgit-27f90c25a0280ec688956d6eacbb8ecc702ee240.tar.gz
git-27f90c25a0280ec688956d6eacbb8ecc702ee240.tar.xz
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>
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 961a22250..04c9512f5 100644
--- 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);