git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Aneesh Kumar K.VNext: Junio C Hamano
Message 7 of 12 in “How to generate pull-request with info of signed tag”
  1. Aneesh Kumar K.VDec 16, 2011
  2. Junio C HamanoDec 16, 2011
  3. Re* How to generate pull-request with info of signed tagJunio C Hamano, Dec 16, 2011
  4. Aneesh Kumar K.VDec 17, 2011
  5. Junio C HamanoDec 17, 2011
  6. Aneesh Kumar K.VDec 19, 2011
  7. Junio C HamanoDec 19, 2011
  8. Junio C HamanoDec 19, 2011
  9. Aneesh Kumar K.VDec 21, 2011
  10. Junio C HamanoDec 21, 2011
  11. Aneesh Kumar K.VDec 21, 2011
  12. Junio C HamanoDec 21, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.