diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-05-28 21:10:21 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-05-29 09:58:46 +0200 |
commit | 9ba8d6f3092023385de95bd65a77327f676412d7 (patch) | |
tree | f90279f0c19e5042a1597c01e303c806fe9a12bc /scripts/githooks/pre-commit | |
parent | 152bdf44723319b38d3ea100b568f7c73d6848c3 (diff) | |
download | mupdf-9ba8d6f3092023385de95bd65a77327f676412d7.tar.xz |
Trivial (and probably needless) simplification of git hook.
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 |