* Tags not transferred with git pull?
@ 2005-11-04 15:53 Erik Mouw
2005-11-04 15:57 ` Jan Harkes
2005-11-04 15:59 ` Fernando J. Pereda
0 siblings, 2 replies; 6+ messages in thread
From: Erik Mouw @ 2005-11-04 15:53 UTC (permalink / raw)
To: git
Hi,
Is it OK that the latest git (0.99.9c) doesn't get the tags
(refs/tags/*) when doing a git pull? It's getting a bit of a nuisance
to do a separate rsync to get them right.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact Harddisk-recovery.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tags not transferred with git pull?
2005-11-04 15:53 Tags not transferred with git pull? Erik Mouw
@ 2005-11-04 15:57 ` Jan Harkes
2005-11-04 15:59 ` Fernando J. Pereda
1 sibling, 0 replies; 6+ messages in thread
From: Jan Harkes @ 2005-11-04 15:57 UTC (permalink / raw)
To: Erik Mouw; +Cc: git
On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:
> Is it OK that the latest git (0.99.9c) doesn't get the tags
> (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance
> to do a separate rsync to get them right.
You don't need to fall back on rsync,
git fetch --tags
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Tags not transferred with git pull?
2005-11-04 15:53 Tags not transferred with git pull? Erik Mouw
2005-11-04 15:57 ` Jan Harkes
@ 2005-11-04 15:59 ` Fernando J. Pereda
2005-11-04 16:05 ` Erik Mouw
1 sibling, 1 reply; 6+ messages in thread
From: Fernando J. Pereda @ 2005-11-04 15:59 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:
| Hi,
|
| Is it OK that the latest git (0.99.9c) doesn't get the tags
| (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance
| to do a separate rsync to get them right.
|
As Linus explained in a message earlier, a git fetch --tags will do it.
Cheers,
Ferdy
--
Fernando J. Pereda Garcimart�n
Gentoo Developer (Alpha,net-mail,mutt,git)
20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tags not transferred with git pull?
2005-11-04 15:59 ` Fernando J. Pereda
@ 2005-11-04 16:05 ` Erik Mouw
2005-11-04 19:26 ` Junio C Hamano
0 siblings, 1 reply; 6+ messages in thread
From: Erik Mouw @ 2005-11-04 16:05 UTC (permalink / raw)
To: git
On Fri, Nov 04, 2005 at 04:59:14PM +0100, Fernando J. Pereda wrote:
> On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:
> | Is it OK that the latest git (0.99.9c) doesn't get the tags
> | (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance
> | to do a separate rsync to get them right.
>
> As Linus explained in a message earlier, a git fetch --tags will do it.
Ah, right. I got the impression that the latest git was supposed to do
that automatically with a git pull.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tags not transferred with git pull?
2005-11-04 16:05 ` Erik Mouw
@ 2005-11-04 19:26 ` Junio C Hamano
2005-11-07 10:44 ` Erik Mouw
0 siblings, 1 reply; 6+ messages in thread
From: Junio C Hamano @ 2005-11-04 19:26 UTC (permalink / raw)
To: Erik Mouw; +Cc: git
Erik Mouw <erik@harddisk-recovery.com> writes:
> Ah, right. I got the impression that the latest git was supposed to do
> that automatically with a git pull.
Sorry for the confusion. The barebone Porcelainish shipped with
git-core does not fetch and store tags unconditionally under the
same name as the remote has without being told; you need to
explicitly tell it to 'git fetch --tags'.
What was added recently was a low level support for Cogito to
implement the automatic tracking. This is supposed to (I do not
offhand know if the Cogito side has been updated to do so
already) work a bit differently. Instead of grabbing all tags
and all objects reachable from them, as you fetch commits from
the remote, the automatic tracking fetches tags that point at
them. What this means is that the tags on the remote branch you
are tracking would be fetched automatically but tags on a remote
branch you are not interested in are not.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tags not transferred with git pull?
2005-11-04 19:26 ` Junio C Hamano
@ 2005-11-07 10:44 ` Erik Mouw
0 siblings, 0 replies; 6+ messages in thread
From: Erik Mouw @ 2005-11-07 10:44 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On Fri, Nov 04, 2005 at 11:26:20AM -0800, Junio C Hamano wrote:
> Sorry for the confusion. The barebone Porcelainish shipped with
> git-core does not fetch and store tags unconditionally under the
> same name as the remote has without being told; you need to
> explicitly tell it to 'git fetch --tags'.
>
> What was added recently was a low level support for Cogito to
> implement the automatic tracking. This is supposed to (I do not
> offhand know if the Cogito side has been updated to do so
> already) work a bit differently. Instead of grabbing all tags
> and all objects reachable from them, as you fetch commits from
> the remote, the automatic tracking fetches tags that point at
> them. What this means is that the tags on the remote branch you
> are tracking would be fetched automatically but tags on a remote
> branch you are not interested in are not.
Thanks for the explanation.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-07 10:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 15:53 Tags not transferred with git pull? Erik Mouw
2005-11-04 15:57 ` Jan Harkes
2005-11-04 15:59 ` Fernando J. Pereda
2005-11-04 16:05 ` Erik Mouw
2005-11-04 19:26 ` Junio C Hamano
2005-11-07 10:44 ` Erik Mouw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox