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
ae0bf2b2
Commit
ae0bf2b2
authored
Jan 13, 2011
by
Mark Olesen
Browse files
BUG: single instead of double quotes in git hooks message
parent
589ddb0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/tools/pre-commit-hook
View file @
ae0bf2b2
...
...
@@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2010-201
0
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 2010-201
1
OpenCFD Ltd.
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -53,7 +53,7 @@ hookName="pre-commit"
die
()
{
echo
"
$hookName
hook failure"
1>&2
echo
'-----------------------'
1>&2
echo
'-----------------------
------------
'
1>&2
echo
''
1>&2
echo
"
$@
"
1>&2
echo
''
1>&2
...
...
@@ -105,8 +105,8 @@ dieOnBadFiles()
{
if
[
-n
"
$badFiles
"
]
then
echo
'
$hookName hook failure
'
1>&2
echo
'-----------------------'
1>&2
echo
"
$hookName
hook failure
"
1>&2
echo
'-----------------------
------------
'
1>&2
echo
"
$@
"
1>&2
echo
''
1>&2
echo
"File(s):"
1>&2
...
...
bin/tools/pre-receive-hook
View file @
ae0bf2b2
...
...
@@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2010-201
0
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 2010-201
1
OpenCFD Ltd.
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -47,7 +47,7 @@ hookName="pre-receive"
die
()
{
echo
"
$hookName
hook failure"
1>&2
echo
'-----------------------'
1>&2
echo
'-----------------------
------------
'
1>&2
echo
''
1>&2
echo
"
$@
"
1>&2
echo
''
1>&2
...
...
@@ -68,8 +68,8 @@ dieOnBadFiles()
{
if
[
-n
"
$badFiles
"
]
then
echo
'
$hookName hook failure
'
1>&2
echo
'-----------------------'
1>&2
echo
"
$hookName
hook failure
"
1>&2
echo
'-----------------------
------------
'
1>&2
echo
"
$@
"
1>&2
echo
''
1>&2
echo
"File(s):"
1>&2
...
...
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