Commit with an empty message broken since v1.8.2.1
- From
- Mislav Marohnić <mislav.marohnic@gmail.com>
- Date
- May 25, 2013, 19:12 UTC
- Message-ID
- <195A1F16-B587-4217-97BF-6A92DA8C0786@gmail.com>
Commit a24a41ea9a928ccde2db074ab0835c4817223c9d introduces a bug which is still present in latest master.
This command
git commit -m "" --allow-empty --allow-empty-message
should create an empty commit with an empty message and never open a text editor for the commit message. Since the change, the editor is always opened.
My current workaround to skip the editor is setting the environment variable:
GIT_EDITOR=true