From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Re* How to generate pull-request with info of signed tag
Date: Wed, 21 Dec 2011 22:21:21 +0530 [thread overview]
Message-ID: <87ipl9yik6.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <7vzkemh0de.fsf@alter.siamese.dyndns.org>
On Tue, 20 Dec 2011 23:03:57 -0800, Junio C Hamano <gitster@pobox.com> wrote:
> "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:
>
> > Also can we make .git/config remote stanza to have something like below
> >
> >
> > fetch = +refs/tags/*:refs/tags/abc/*
> >
> > so that one can do
> >
> > git fetch t-remote tag-name
> >
> > and that get stored to abc/tag-name
>
> You can do whatever you want to your own config file without asking anybody.
>
> Having said that, 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.
>
With an entry like below
[remote "github"]
fetch = +refs/tags/*:refs/tags/origin/*
url = git://github.com/kvaneesh/QEMU.git
when i do git fetch github for-anthony i get the below error
[master@QEMU]$ git fetch github for-anthony
From git://github.com/kvaneesh/QEMU
* tag for-anthony -> FETCH_HEAD
[master@QEMU]$ less .git/config
Also trying to do
[master@QEMU]$ git fetch git://github.com/kvaneesh/QEMU.git for-anthony:aneesh/for-anthony
error: Trying to write non-commit object 12916047784615b7d8b879d9d39be6c1559e1b1b to branch refs/heads/aneesh/for-anthony
From git://github.com/kvaneesh/QEMU
! [new branch] for-anthony -> aneesh/for-anthony (unable to update local ref)
* [new tag] for-anthony -> for-anthony
I understand that replacing the above with below works. But we should
not be required to specify refs/tags there right ?
[master@QEMU]$ git fetch git://github.com/kvaneesh/QEMU.git refs/tags/for-anthony:refs/tags/aneesh/for-anthony
-aneesh
next prev parent reply other threads:[~2011-12-21 16:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 6:35 How to generate pull-request with info of signed tag Aneesh Kumar K.V
2011-12-16 16:22 ` Junio C Hamano
2011-12-16 16:56 ` Re* " Junio C Hamano
2011-12-17 13:27 ` Aneesh Kumar K.V
2011-12-17 19:47 ` Junio C Hamano
2011-12-19 16:10 ` Aneesh Kumar K.V
2011-12-19 19:55 ` Junio C Hamano
2011-12-19 20:06 ` Junio C Hamano
2011-12-21 6:30 ` Aneesh Kumar K.V
2011-12-21 7:03 ` Junio C Hamano
2011-12-21 16:51 ` Aneesh Kumar K.V [this message]
2011-12-21 18:39 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipl9yik6.fsf@linux.vnet.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).