mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-08 00:45:41 +02:00
Improve pre-commit hook
This commit is contained in:
parent
59a6ee577a
commit
f352761df8
1 changed files with 3 additions and 0 deletions
|
@ -4,3 +4,6 @@ DIR="$(dirname $(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&
|
|||
|
||||
cd $DIR
|
||||
make pre-commit
|
||||
for FILE in `git diff --staged --name-only`; do
|
||||
git add $FILE
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue