[PATCH v2] Allow edit of empty message with commit --amend

2012-07-09 Thread Chris Webb
If git commit --amend is used on a commit with an empty message, it fails unless -m is given, whether or not --allow-empty-message is specified. Instead, allow it to proceed to the editor with an empty commit message. Unless --allow-empty-message is in force, it will still abort later if an empty

Re: [PATCH v2] Allow edit of empty message with commit --amend

2012-07-09 Thread Junio C Hamano
Chris Webb ch...@arachsys.com writes: If git commit --amend is used on a commit with an empty message, it fails unless -m is given, whether or not --allow-empty-message is specified. Instead, allow it to proceed to the editor with an empty commit message. Unless --allow-empty-message is in