From: Junio C Hamano Date: Sat, 3 Mar 2007 00:57:53 +0000 (-0800) Subject: Merge branch 'maint' X-Git-Tag: v1.5.1-rc1~103 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c?hp=5e00f6faf47b4e456080c792d148bd490efa94c3 Merge branch 'maint' * maint: Fix quoting in update hook template --- diff --git a/templates/hooks--update b/templates/hooks--update index 4af2fe8d95..5b82b68e93 100644 --- a/templates/hooks--update +++ b/templates/hooks--update @@ -64,7 +64,7 @@ case "$refname","$newrev_type" in # un-annotated tag refname_type="tag" short_refname=${refname##refs/tags/} - if [ $allowunannotated != "true" ]; then + if [ "$allowunannotated" != "true" ]; then echo "*** The un-annotated tag, $short_refname is not allowed in this repository" >&2 echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 exit 1