Open joshfriend opened 9 years ago
Any thoughts on what this might look like or how others can contribute?
Right now, hooker.sh
is pretty simple. I think tests for the following would suffice:
--install
creates symlinks to hooker.sh
inside the .git/hooks/
directory for each kind of hook..git/hooks/
executes any script in .hooks/<hook_type/
that is executable.validate_commit_text.py
since that's (probably) the most frequently used and easiest to test.chmod +x
on them
https://github.com/sstephenson/bats