diff --git a/pre-commit.sh b/pre-commit.sh index 6018062..0b841d6 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -8,7 +8,7 @@ set -e # format make format -git diff --name-only --cached | xargs -l git add +git diff --name-only --cached --diff-filter=d | xargs -l git add # build make build