Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ew/config-protect-mode'
[gitweb.git]
/
contrib
/
examples
/
git-tag.sh
diff --git
a/contrib/examples/git-tag.sh
b/contrib/examples/git-tag.sh
index 2c15bc955b5bdf64119cdef87ad7519900cdd35f..1bd8f3c58d4508e5f7afc20619430d59b50582ff 100755
(executable)
--- a/
contrib/examples/git-tag.sh
+++ b/
contrib/examples/git-tag.sh
@@
-156,7
+156,7
@@
prev=0000000000000000000000000000000000000000
if git show-ref --verify --quiet -- "refs/tags/$name"
then
test -n "$force" || die "tag '$name' already exists"
- prev=
`git rev-parse "refs/tags/$name"`
+ prev=
$(git rev-parse "refs/tags/$name")
fi
shift
git check-ref-format "tags/$name" ||