Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Fix quoting in update hook template
  • Loading branch information
Junio C Hamano committed Mar 3, 2007
2 parents 5e00f6f + b8ac23b commit 4808bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/hooks--update
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4808bec

Please sign in to comment.