Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Possible cleanups for local-pull.c
[gitweb.git]
/
git-tag-script
diff --git
a/git-tag-script
b/git-tag-script
index d3074a8b3d84d878f568f8b04867e923e1628fe5..39c3c53987bf647d2b15127c7fa8cedcc5befd35 100755
(executable)
--- a/
git-tag-script
+++ b/
git-tag-script
@@
-47,7
+47,7
@@
if [ -e "$GIT_DIR/refs/tags/$name" -a -z "$force" ]; then
fi
shift
-object=$(git-rev-parse --verify --
revs-only --
default HEAD "$@") || exit 1
+object=$(git-rev-parse --verify --default HEAD "$@") || exit 1
type=$(git-cat-file -t $object) || exit 1
tagger=$(git-var GIT_COMMITTER_IDENT) || exit 1