diff options
-rwxr-xr-x | .git-hooks/pre-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index f3ea7b093895..521ed202b9ac 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -48,7 +48,7 @@ sub check_whitespaces($) print STDERR "$filename:$lineno:$line\n"; } } - open( FILES, "git-diff-index -p -M --cached $h |" ) || die "Cannot run git diff-index."; + open( FILES, "git diff-index -p -M --cached $h |" ) || die "Cannot run git diff-index."; while (<FILES>) { if (m|^diff --git a/(.*) b/\1$|) |