exclude mustach from indentation requirements
This commit is contained in:
parent
d645ea5c8e
commit
58a5c0857b
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
# use as .git/hooks/pre-commit
|
# use as .git/hooks/pre-commit
|
||||||
exec 1>&2
|
exec 1>&2
|
||||||
return 0
|
|
||||||
RET=0
|
RET=0
|
||||||
changed=$(git diff --cached --name-only)
|
changed=$(git diff --cached --name-only | grep -v mustach)
|
||||||
crustified=""
|
crustified=""
|
||||||
|
|
||||||
for f in $changed;
|
for f in $changed;
|
||||||
|
Loading…
Reference in New Issue
Block a user