issues
search
tommarshall
/
git-good-commit
Git hook to help you write good commit messages, with no external dependencies.
MIT License
195
stars
33
forks
source link
Mirror Git's editor config
#10
Closed
tommarshall
closed
7 years ago
tommarshall
commented
7 years ago
Because:
Currently the hook simply uses $EDITOR. The Git editor can be set in a range of different ways, so
$EDITOR
may not always be the editor used by Git.
This change:
Mirror's Git's editor config with the same fallbacks, ref:
https://github.com/git/git/blob/v2.11.0/editor.c#L10-L30
Fixes #9
Because:
$EDITOR
may not always be the editor used by Git.This change:
Fixes #9