diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-02 16:57:53 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-02 16:57:53 -0800 |
commit | 4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c (patch) | |
tree | 4597aa5adde308c4b7c857a77e5440862499f2c5 /templates | |
parent | git-branch: document new --no-abbrev option (diff) | |
parent | Fix quoting in update hook template (diff) | |
download | tgif-4808bec6f9b5fe414f0dbc2cc0445f54f28e9e9c.tar.xz |
Merge branch 'maint'
* maint:
Fix quoting in update hook template
Diffstat (limited to 'templates')
-rw-r--r-- | templates/hooks--update | 2 |
1 files changed, 1 insertions, 1 deletions
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 |