diff options
| author | Teddy Wing | 2015-09-27 14:49:46 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-09-27 14:49:46 -0400 |
| commit | 7a5b8b3e0df6c236e96deb6a1fa1a82b93425f61 (patch) | |
| tree | 7f3b93f96942355ff7c41edb731b2abbfd7121a1 | |
| parent | 4941dce09c968e17d3355e035d85960646855f7f (diff) | |
| download | git-hook-pre-commit-python-javascript-syntax-linter-master.tar.bz2 | |
Remove leftovers from the git sample pre-commit hook that we don't
really need in this script.
| -rw-r--r-- | pre-commit | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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) |
