From fdad025bdfbbf90c1522d997674c6a62f7bedeeb Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 4 Jun 2013 14:55:00 +0100 Subject: [PATCH] ENH: pre-commit-hook - not checking *.gz files --- bin/tools/pre-commit-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/pre-commit-hook b/bin/tools/pre-commit-hook index e450665861..2905d7d322 100755 --- a/bin/tools/pre-commit-hook +++ b/bin/tools/pre-commit-hook @@ -147,7 +147,7 @@ checkIllegalCode() do case "$f" in # exclude potential makefiles - (*[Mm]akefile* | wmake/rules/* | *.f* | *.v[cf]proj | *.pdf | *.png | *.html | *.gif | *.css) + (*[Mm]akefile* | wmake/rules/* | *.f* | *.v[cf]proj | *.pdf | *.png | *.html | *.gif | *.css | *.gz) ;; (*) fileType=`file -b $f`