observing / pre-commit

Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit
MIT License
1.88k stars 152 forks source link

Commit template does not clean itself up after configuration is removed #83

Open zachlysobey opened 7 years ago

zachlysobey commented 7 years ago

As an experiment, I tried the template option.

It did not work (apparently due to https://github.com/observing/pre-commit/pull/80)

After removing the template option, my pre-commit hook still failed.

fatal: could not read '".commit-template"': No such file or directory

I had to manually edit my .git/config to fix this.

I can't think of a nice way to handle this, and honestly the more I think about it, I am not sure if having this option in your project really makes that much sense to begin with (but of course, thats your prerogative)

Thanks for your great work!