Speed up ./tools/pre-commit by checking only staged files.

(imported from commit 2669635c94c41890bfe712f609b640b013a61782)
This commit is contained in:
Steve Howell 2013-12-02 15:24:27 -05:00
parent 3e51ac2f3d
commit 2423c9bc15
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
./tools/lint-all || true ./tools/lint-all $(git diff --cached --name-only --diff-filter=ACM) || true