revert: prettify fatal messages
authorRamkumar Ramachandra <artagnon@gmail.com>
Tue, 15 Nov 2011 09:31:32 +0000 (15:01 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Nov 2011 00:59:46 +0000 (16:59 -0800)
Some of the fatal messages printed by revert and cherry-pick look ugly
like the following:

fatal: Could not open .git/sequencer/todo.: No such file or directory

The culprit here is that these callers of the die_errno() function did not
take it into account that the message string they give to it is followed
by ": <strerror>", hence the message typically should not end with the
full-stop.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found