Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<junkio@cox.net>
Sat, 3 Mar 2007 00:57:53 +0000
(16:57 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 3 Mar 2007 00:57:53 +0000
(16:57 -0800)
* maint:
Fix quoting in update hook template
templates/hooks--update
patch
|
blob
|
history
raw
(from parent 1:
5e00f6f
)
diff --git
a/templates/hooks--update
b/templates/hooks--update
index 4af2fe8d9517f3be1a6cb526a62d12e1f2c70915..5b82b68e93980924befa9ecc99e099e77da27b5f 100644
(file)
--- 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