fixed pre-commit hook for deleted files

This commit is contained in:
Niklas Kapelle 2024-01-22 23:36:41 +01:00
parent f109305f48
commit 22509932c3
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -8,7 +8,7 @@ set -e
# format # format
make 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 # build
make build make build