I would like to run a linter on git status
, however there seems to be no pre-status
nor post-status
hook. How could one add a hook to git? The fine docs are suspiciously silent on the matter!
I'm currently wrapping my linter and git status
in a Bash script, but I would prefer a solution which supports my muscle-memory-macro git status
. I'm running CentOS 7.3 with KDE 4 if it matters.