Browse Source

Do not check files in build/*

pull/64/head
Evan Theurer 11 years ago
parent
commit
199cb21b50
  1. 3
      src/hooks/pre-commit.hook

3
src/hooks/pre-commit.hook

@ -33,6 +33,9 @@ for file in `git diff-index --cached --name-only HEAD --diff-filter=ACMR| grep " @@ -33,6 +33,9 @@ for file in `git diff-index --cached --name-only HEAD --diff-filter=ACMR| grep "
*/libs/*)
echo "Not checking library ${file}"
;;
build/*)
echo "Not checking build ${file}"
;;
*)
echo "Checking ${file}"
nf=`git checkout-index --temp ${file} | cut -f 1`

Loading…
Cancel
Save