alexcouper / captainhook

Git hook scripts
BSD 3-Clause "New" or "Revised" License
54 stars 14 forks source link

Behave tests #49

Closed alexcouper closed 10 years ago

alexcouper commented 10 years ago

Should error if a bash() step fails.

Eg in #47 the issue was that there was no hooks folder, but this was swallowed up by the behave tests.

Related, we should force create the hooks folder if it doesn't exist.

To replicate this issue add this to .gitconfig:

[init]
        templatedir = ~/.git_template_dir