Only require commit message to be non-empty.
Only replace commit message if empty when amending.