Hooks
This commit is contained in:
parent
a235246d65
commit
e306c911c3
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
FILES=$(git diff --cached --name-only --diff-filter=ACMR -- './**/*.{php,html,yaml}' | sed 's| |\\ |g')
|
||||
FILES=$(git diff --cached --name-only --diff-filter=ACMR -- '*.php' '*.html' '*.yaml' | sed 's| |\\ |g')
|
||||
[ -z "$FILES" ] && exit 0
|
||||
|
||||
# Prettify all selected files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user