aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-02 16:57:53 -0800
committerJunio C Hamano <junkio@cox.net>2007-03-02 16:57:53 -0800
commit4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c (patch)
tree4597aa5adde308c4b7c857a77e5440862499f2c5
parent5e00f6faf47b4e456080c792d148bd490efa94c3 (diff)
parentb8ac23bcf82e67ccc56b90217c68d7a46b4b2bbc (diff)
downloadgit-4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c.tar.gz
git-4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c.tar.xz
Merge branch 'maint'
* maint: Fix quoting in update hook template
-rw-r--r--templates/hooks--update2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hooks--update b/templates/hooks--update
index 4af2fe8d9..5b82b68e9 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