summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-push.sample
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-03 13:54:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-03 13:54:26 -0700
commite5be297279e8ee8c503eb59da21ab17edc40e748 (patch)
tree23dff8ccf588bae744b107ec994be2bd9d551628 /templates/hooks--pre-push.sample
parentparse-options: fix clang opterror() -Wunused-value warning (diff)
parentfix shell syntax error in template (diff)
downloadtgif-e5be297279e8ee8c503eb59da21ab17edc40e748.tar.xz
Merge branch 'maint-1.8.2' into maint-1.8.3
* maint-1.8.2: fix shell syntax error in template
Diffstat (limited to 'templates/hooks--pre-push.sample')
-rwxr-xr-xtemplates/hooks--pre-push.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 15ab6d8e7e..1f3bcebfd7 100755
--- 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