{"thread":{"id":"5784","subject":"[PATCH] Do not create tag leading directories since git update-ref does it.","startedAt":"2006-10-02T04:36:15Z","lastAt":"2006-10-02T04:36:15Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"28097","messageId":"20061002063615.2ffb7eaa.chriscool@tuxfamily.org","threadId":"5784","inReplyTo":null,"subject":"[PATCH] Do not create tag leading directories since git update-ref does it.","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2006-10-02T04:36:15Z","receivedAt":"2006-10-02T04:36:15Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Signed-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n git-tag.sh |    5 ++---\n 1 files changed, 2 insertions(+), 3 deletions(-)\n\ndiff --git a/git-tag.sh b/git-tag.sh\nindex a3f1819..ac269e3 100755\n--- a/git-tag.sh\n+++ b/git-tag.sh\n@@ -112,6 +112,5 @@ if [ \"$annotate\" ]; then\n     object=$(git-mktag < \"$GIT_DIR\"/TAG_TMP)\n fi\n \n-leading=`expr \"refs/tags/$name\" : '\\(.*\\)/'` &&\n-mkdir -p \"$GIT_DIR/$leading\" &&\n-GIT_DIR=\"$GIT_DIR\" git update-ref \"refs/tags/$name\" \"$object\" \"$prev\"\n+git update-ref \"refs/tags/$name\" \"$object\" \"$prev\"\n+\n-- \n1.4.2.2.gbcb49-dirty\n"}]}