Re: [PATCH v2] sequencer.c: fix and unify error messages in rearrange_squash()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 16, 2017, 12:46 UTC
- Message-ID
- <xmqqwp3vqmz4.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <17346CCF8DEF41E790C96248408E07D2@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> writes:
Show 8 quoted lines
> Hi, 'Truncate' is real English, but it is not that common in normal usage. > > My dictionary suggests that it means 'cut off at the tip' such as a > truncated cone. However the thesaurus is far more relaxed about the > common idioms that truncate at the tail such as: clip, crop, cut > short, trim, abbreviate, curtail, etc. > > So perhaps "could not trim '%s'".
Truncate is fine, as there is already another instance that barfs with "cannot truncate" upon an error from ftruncate(), and the patch merely matches the two error messages.