git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f59bebb
)
fix shell syntax error in template
author
Thorsten Glaser
<redacted>
Fri, 30 Aug 2013 10:40:30 +0000
(12:40 +0200)
committer
Junio C Hamano
<redacted>
Fri, 30 Aug 2013 16:56:30 +0000
(09:56 -0700)
An if clause must not be empty; add a "colon" command.
Signed-off-by: Thorsten Glaser <redacted>
Signed-off-by: Junio C Hamano <redacted>
templates/hooks--pre-push.sample
patch
|
blob
|
history
diff --git
a/templates/hooks--pre-push.sample
b/templates/hooks--pre-push.sample
index 15ab6d8e7ea05ca54f0b755828e166fafe9bc28c..1f3bcebfd76ae1b37e1542631a87e5a5e3e6b1eb 100755
(executable)
--- a/
templates/hooks--pre-push.sample
+++ b/
templates/hooks--pre-push.sample
@@
-30,6
+30,7
@@
do
if [ "$local_sha" = $z40 ]
then
# Handle delete
+ :
else
if [ "$remote_sha" = $z40 ]
then
git clone https://git.99rst.org/PROJECT