kazazor / git-pre-commit

A pre-commit hook that ignores all the unstagged changes while performing the pre-commit command you wrote (Using Shell, Gulp, Grunt etc..)
https://www.npmjs.com/package/git-pre-commit
MIT License
18 stars 5 forks source link

Change install behavior when pre-commit already exists #24

Closed kazazor closed 8 years ago

kazazor commented 8 years ago

Currently we force delete the pre-commit file. Instead change the behavior to tell that we did not install our pre-commit hook and cowardly stop the operation.

kazazor commented 8 years ago

We'll keep it this way so when ever we're upgrading to a new version the files will get updated