From 9ba8d6f3092023385de95bd65a77327f676412d7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 28 May 2013 21:10:21 +0200 Subject: Trivial (and probably needless) simplification of git hook. --- scripts/githooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3