Browse code

remove check_whitespace file now that it's in pre-commit

Bas Nijholt authored on 14/12/2019 20:03:31
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,8 +0,0 @@
1
-#!/bin/sh
2
-
3
-! for f in $(git ls-files | grep -v \\.diff$); do
4
-    file $f | grep -q ' text' || continue
5
-    grep -q '[[:blank:]]$' $f && echo $f: trailing whitespace
6
-    tail -n1 $f | read -r _ || echo $f: no newline at end of file
7
-    tail -n1 $f | grep -q '^$' && echo $f: empty line at end of file
8
-done | grep . >&2