From 7c1ca51598cbc253f4e87a036fb3be1360cef555 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 23 Jul 2010 12:06:51 +0100 Subject: [PATCH] Revert "ENH: Added DOS-style line ending check to git hook" This reverts commit 102f79701659462b89dad540cb0d3cf3bdd216c3. --- bin/tools/pre-commit-hook | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/tools/pre-commit-hook b/bin/tools/pre-commit-hook index 9b5a394fde..be4bb69b24 100755 --- a/bin/tools/pre-commit-hook +++ b/bin/tools/pre-commit-hook @@ -97,8 +97,8 @@ dieOnBadFiles() # checkIllegalCode() { - reBad="(N""abla|"$'\t'"|"$'\r\n'")" - msgBad="N""abla, , or DOS-style line ending" + reBad="(N""abla|"$'\t'")" + msgBad="N""abla or " badFiles=$( for f in $fileList @@ -219,5 +219,4 @@ checkLineLength exit 0 - #------------------------------------------------------------------------------