mirror of https://github.com/zulip/zulip.git
Speed up ./tools/pre-commit by checking only staged files.
(imported from commit 2669635c94c41890bfe712f609b640b013a61782)
This commit is contained in:
parent
3e51ac2f3d
commit
2423c9bc15
|
@ -1 +1 @@
|
|||
./tools/lint-all || true
|
||||
./tools/lint-all $(git diff --cached --name-only --diff-filter=ACM) || true
|
||||
|
|
Loading…
Reference in New Issue