fixed pre-commit hook for deleted files
This commit is contained in:
parent
f109305f48
commit
22509932c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user