* [BUG} git-fetch - won't fetch wildcarded tags
@ 2007-08-11 2:59 Mark Levedahl
2007-08-11 3:25 ` Mark Levedahl
2007-08-11 4:14 ` Junio C Hamano
0 siblings, 2 replies; 3+ messages in thread
From: Mark Levedahl @ 2007-08-11 2:59 UTC (permalink / raw)
To: Git Mailing List
git fetch does not seem to handle refs/tags/* refspecs, at least no from
bundles...
git>git bundle create /tmp/foo v1.5.2
<snip>
git>git ls-remote /tmp/foo
8b1e5575ab18757272e86c5ec7a10411bbaa3662 refs/tags/v1.5.2
git>git tag -d v1.5.2
Deleted tag v1.5.2.
git>git fetch /tmp/foo 'refs/tags/*:refs/tags/*'
* refusing to create funny ref 'tags/*' locally
Huh?
but...
git>git fetch /tmp/foo 'refs/tags/v1.5.2:refs/tags/v1.5.2'
* refs/tags/v1.5.2: storing tag 'v1.5.2' of /tmp/foo
tag: 8b1e557
What's going on? This is a severe limitation of the utility of bundles
to transmit tagged versions.
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG} git-fetch - won't fetch wildcarded tags
2007-08-11 2:59 [BUG} git-fetch - won't fetch wildcarded tags Mark Levedahl
@ 2007-08-11 3:25 ` Mark Levedahl
2007-08-11 4:14 ` Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Mark Levedahl @ 2007-08-11 3:25 UTC (permalink / raw)
To: Mark Levedahl; +Cc: Git Mailing List
Mark Levedahl wrote:
> git fetch does not seem to handle refs/tags/* refspecs, at least no
> from bundles...
>
groan - Never mind
git fetch -t /tmp/foo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG} git-fetch - won't fetch wildcarded tags
2007-08-11 2:59 [BUG} git-fetch - won't fetch wildcarded tags Mark Levedahl
2007-08-11 3:25 ` Mark Levedahl
@ 2007-08-11 4:14 ` Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2007-08-11 4:14 UTC (permalink / raw)
To: Mark Levedahl; +Cc: Git Mailing List
Mark Levedahl <mlevedahl@verizon.net> writes:
> git>git fetch /tmp/foo 'refs/tags/*:refs/tags/*'
> * refusing to create funny ref 'tags/*' locally
I think fetch's wildcard is effective only in the config file,
and this is not just tags. It would be nice if you could say
$ git fetch foo.bndl 'refs/*:refs/*'
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-11 4:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-11 2:59 [BUG} git-fetch - won't fetch wildcarded tags Mark Levedahl
2007-08-11 3:25 ` Mark Levedahl
2007-08-11 4:14 ` Junio C Hamano
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).