Merge branch 'np/verbose-push'
[gitweb.git] / git-tag.sh
index a3f1819b0e96b73c05febdedefdf1652d0ba7f5d..ac269e3277d9b8c844e8c43b95695375dd829746 100755 (executable)
@@ -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"
+