projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b431b28
)
Do not create tag leading directories since git update-ref does it.
author
Christian Couder
<chriscool@tuxfamily.org>
Mon, 2 Oct 2006 04:36:15 +0000
(06:36 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 2 Oct 2006 04:42:20 +0000
(21:42 -0700)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-tag.sh
patch
|
blob
|
history
diff --git
a/git-tag.sh
b/git-tag.sh
index a3f1819b0e96b73c05febdedefdf1652d0ba7f5d..ac269e3277d9b8c844e8c43b95695375dd829746 100755
(executable)
--- a/
git-tag.sh
+++ b/
git-tag.sh
@@
-112,6
+112,5
@@
if [ "$annotate" ]; then
object=$(git-mktag < "$GIT_DIR"/TAG_TMP)
fi
-leading=`expr "refs/tags/$name" : '\(.*\)/'` &&
-mkdir -p "$GIT_DIR/$leading" &&
-GIT_DIR="$GIT_DIR" git update-ref "refs/tags/$name" "$object" "$prev"
+git update-ref "refs/tags/$name" "$object" "$prev"
+