Re: [PATCH v2] Advertise the ability to abort a commit
- From
Jeff King <peff@peff.net>
- Date
- Jul 30, 2008, 05:07 UTC
- Message-ID
- <20080730050715.GA4034@sigill.intra.peff.net>
- In-Reply-To
- <1217362342-30370-1-git-send-email-mail@cup.kalibalik.dk>
On Tue, Jul 29, 2008 at 10:12:22PM +0200, Anders Melchiorsen wrote:
> "# Please enter the commit message for your changes.\n" > + "# To abort the commit, use an empty commit message.\n" > "# (Comment lines starting with '#' will ");
I think this is a good thing to mention, but this text has been getting longer lately. Maybe we can compact it like this:
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit.
?
> - die("no commit message? aborting commit.");
> + die("no commit message. aborting commit.");I don't think the change of punctuation makes a big difference here, but this could probably stand to be reworded. Maybe:
Aborting commit due to empty commit message.
-Peff