Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f4c1042f
Commit
f4c1042f
authored
Nov 17, 2010
by
Mark Olesen
Browse files
BUG: had double quotes instead of single quotes in git hooks
parent
be58ad5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/tools/pre-commit-hook
View file @
f4c1042f
...
...
@@ -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'
' '
...
...
bin/tools/pre-receive-hook
View file @
f4c1042f
...
...
@@ -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'
' '
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment