diff options
Diffstat (limited to 'scripts/githooks/pre-commit')
-rwxr-xr-x | scripts/githooks/pre-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/githooks/pre-commit b/scripts/githooks/pre-commit index fec7128f..3a47af96 100755 --- a/scripts/githooks/pre-commit +++ b/scripts/githooks/pre-commit @@ -13,7 +13,7 @@ PATCH=P.diff if ! git diff --cached --check --quiet then git diff --cached > $PATCH - git apply --cached --whitespace=fix -R $PATCH + git apply --cached -R $PATCH git apply --cached --whitespace=fix $PATCH rm $PATCH fi |