From f4c1042f801b14343e116de2e3ff0e6641d0ba4d Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Wed, 17 Nov 2010 17:07:59 +0100 Subject: [PATCH] BUG: had double quotes instead of single quotes in git hooks --- bin/tools/pre-commit-hook | 4 ++-- bin/tools/pre-receive-hook | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tools/pre-commit-hook b/bin/tools/pre-commit-hook index 823559624d9..ae8ca7c21c6 100755 --- a/bin/tools/pre-commit-hook +++ b/bin/tools/pre-commit-hook @@ -250,7 +250,7 @@ checkLineLengthNonComments() # parse line numbers from grep output: # <lineNr>: contents lines=$(git grep -hn -e '^.\{81,\}' \ - --and --not -e "^ *//" \ + --and --not -e '^ *//' \ $scope"$f" | sed -e 's@:.*@@' | tr '\n' ' ' @@ -283,7 +283,7 @@ checkLineLengthNonDirective() # parse line numbers from grep output: # <lineNr>: contents lines=$(git grep -hn -e '^.\{81,\}' \ - --and --not -e "^ *#" \ + --and --not -e '^ *#' \ $scope"$f" | sed -e 's@:.*@@' | tr '\n' ' ' diff --git a/bin/tools/pre-receive-hook b/bin/tools/pre-receive-hook index 046a8086716..84ac684bc39 100755 --- a/bin/tools/pre-receive-hook +++ b/bin/tools/pre-receive-hook @@ -213,7 +213,7 @@ checkLineLengthNonComments() # parse line numbers from grep output: # <lineNr>: contents lines=$(git grep -hn -e '^.\{81,\}' \ - --and --not -e "^ *//" \ + --and --not -e '^ *//' \ $scope"$f" | sed -e 's@:.*@@' | tr '\n' ' ' @@ -246,7 +246,7 @@ checkLineLengthNonDirective() # parse line numbers from grep output: # <lineNr>: contents lines=$(git grep -hn -e '^.\{81,\}' \ - --and --not -e "^ *#" \ + --and --not -e '^ *#' \ $scope"$f" | sed -e 's@:.*@@' | tr '\n' ' ' -- GitLab