3 ms·
https://appventure.me/2016/04/04/prevent-accidental-test-code-commits/ https://appventure.me/2016/04/04/prevent-accidental-test-cod...
by terhechte 8y ago
https://appventure.me/2016/04/04/prevent-accidental-test-code-commits/ https://appventure.me/2016/04/04/prevent-accidental-test-cod...
- lloeki 8y agoNitpick: this line if test $(git diff --cached -z $against | grep $marker | wc -c) != 0 may be changed to if git diff --cached -z $against | grep -q $marker