aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pre-commit5
1 files changed, 0 insertions, 5 deletions
diff --git a/pre-commit b/pre-commit
index 16053a2..f1ac2ed 100644
--- a/pre-commit
+++ b/pre-commit
@@ -10,11 +10,6 @@ else
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
-# Redirect output to stderr.
-# exec 1>&2
-
-# test $(git diff --cached --name-only --diff-filter=A -z $against |
-# LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
files=$(git diff --cached --name-only --diff-filter=AMR -z $against)
python_files=$(echo $files | grep .*\.py)
javascript_files=$(echo $files | grep .*\.js)