A precommit script that will execute certain tasks only on the files that were added to the git index stashing the other ones to avoid false positives when running validation tasks
MIT License
5
stars
2
forks
source link
Make it work properly when the `.git` dir is not at same level where the module is installed #1
if the module is installed in a directory where the
.git
directory is not present, it just fails silently.It seems to be caused by the environment variables that are added by GIT.
Getting rid of them seems to properly fix the issue