Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fix shell syntax error in template
author
Thorsten Glaser
<t.glaser@tarent.de>
Fri, 30 Aug 2013 10:40:30 +0000
(12:40 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
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 <t.glaser@tarent.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--pre-push.sample
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f59bebb
)
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