sequencer.c: fix and unify error messages in rearrange_squash()
commit3247edbb1a8218f9c65f09a25d46572b224d096b
authorRalf Thielow <ralf.thielow@gmail.com>
Sun, 15 Oct 2017 17:07:42 +0000 (15 19:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 01:53:03 +0000 (16 10:53 +0900)
treebfc6bf3df561d90857f40e7baaf9abbee3bfcc63
parentdfab1eac2362dfcac7c96a43c3938d8ec67d7722
sequencer.c: fix and unify error messages in rearrange_squash()

When the write opertion fails, we write that we could
not read. Change the error message to match the operation
and remove the full stop at the end.

When ftruncate() fails, we write that we couldn't finish
the operation on the todo file. It is more accurate to write
that we couldn't truncate as we do in other calls of ftruncate().

Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c