diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-18 03:19:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-18 03:19:07 +0200 |
commit | 570676e011d9c8057744e03067553c4802e5adb4 (patch) | |
tree | 73d20098ca9a38b6bc7d8e2ec10d345d9efc51b0 /sequencer.c | |
parent | Crawling towards -rc2 (diff) | |
parent | sequencer.c: unify an error message (diff) | |
download | git-570676e011d9c8057744e03067553c4802e5adb4.tar.xz git-570676e011d9c8057744e03067553c4802e5adb4.zip |
Merge branch 'js/rebase-i-final'
Error message fix.
* js/rebase-i-final:
sequencer.c: unify an error message
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index 75f5356f69..f2a10cc4f2 100644 --- a/sequencer.c +++ b/sequencer.c @@ -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); |