* [PATCH] Do not create tag leading directories since git update-ref does it.
@ 2006-10-02 4:36 Christian Couder
0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2006-10-02 4:36 UTC (permalink / raw)
To: Junio Hamano; +Cc: git
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-tag.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/git-tag.sh b/git-tag.sh
index a3f1819..ac269e3 100755
--- 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"
+
--
1.4.2.2.gbcb49-dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-02 4:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 4:36 [PATCH] Do not create tag leading directories since git update-ref does it Christian Couder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).