Closed lukateras closed 7 years ago
personally I would like to be able to controll wether empty messages are allowed. If they aren't I can just write nothing into the summary to not commit. Could we have a boolean variable for that?
@Kaligule Sure: see the last commit, gac-allow-empty-message
variable.
Cool thing. Thank you.
However, it probably makes more sense to have a more general custom variable, e.g. a lambda function that is given Git commit message as an argument that returns Git shell command.
I'm not interested in pushing this anymore, so if someone wants to get this merged, feel free to use my fork.
Hi! I want to use your mode with empty Git messages. I've added
gac-commit-message-function
that stores an anonymous function that takes a Git path and returns the corresponding Git commit message. I've also added--allow-empty-message
flag togit commit
.This change should be perfectly reverse-compatible with existing users.