Re: Re* How to generate pull-request with info of signed tag
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 19, 2011, 19:55 UTC
- Message-ID
- <7vobv4mj4r.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <87iplch79e.fsf@linux.vnet.ibm.com>
"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:
> It would be nice to get the below working > > git fetch git-url tag remote-tag-name:local-namespace/tag-name
AFAIR "fetch tag $v" is a shorthand for "fetch refs/tags/$v:refs/tags/$" invented back when Linus was the maintainer of Git. You can say
$ git fetch $url refs/tags/remote-tag-name:refs/tags/whatever-tag-name-you-want
to rename their tag to whatever name in your local repository.
Come to think of it, the last patch I sent out on request pull was very wrong. The point of the recent change to allow you to pull this way (notice the lack of "tag")
$ git pull $url $signed_tag_name
is so that you do not have to contaminate your own ref namespace with tags that are used to leave audit trails in the history graph.
> That way we can make sure before merging i can cut-paste that url and > the local tag name i wish to store this to. And then do a git-merge.