{"thread":{"id":"2347","subject":"Tags not transferred with git pull?","startedAt":"2005-11-04T15:53:14Z","lastAt":"2005-11-07T10:44:08Z","messageCount":6,"participants":["Erik Mouw","Jan Harkes","Fernando J. Pereda","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"11127","messageId":"20051104155314.GB23790@harddisk-recovery.nl","threadId":"2347","inReplyTo":null,"subject":"Tags not transferred with git pull?","fromName":"Erik Mouw","fromEmail":"erik@harddisk-recovery.com","sentAt":"2005-11-04T15:53:14Z","receivedAt":"2005-11-04T15:53:14Z","isPatch":false,"sender":{"key":"erik@harddisk-recovery.com","avatar":null},"body":"Hi,\n\nIs it OK that the latest git (0.99.9c) doesn't get the tags\n(refs/tags/*) when doing a git pull? It's getting a bit of a nuisance\nto do a separate rsync to get them right.\n\n\nErik\n\n-- \n+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --\n| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands\n| Data lost? Stay calm and contact Harddisk-recovery.com\n"},{"id":"11128","messageId":"20051104155706.GA2473@delft.aura.cs.cmu.edu","threadId":"2347","inReplyTo":"20051104155314.GB23790@harddisk-recovery.nl","subject":"Re: Tags not transferred with git pull?","fromName":"Jan Harkes","fromEmail":"jaharkes@cs.cmu.edu","sentAt":"2005-11-04T15:57:06Z","receivedAt":"2005-11-04T15:57:06Z","isPatch":false,"sender":{"key":"jaharkes@cs.cmu.edu","avatar":"https://gravatar.com/avatar/cf95aecd150ca8ef33d6edc337ac4bb9e13aa4246fc3679257d578c7fddc1633?d=mp&s=160"},"body":"On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:\n> Is it OK that the latest git (0.99.9c) doesn't get the tags\n> (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance\n> to do a separate rsync to get them right.\n\nYou don't need to fall back on rsync,\n\n    git fetch --tags\n\nJan\n"},{"id":"11129","messageId":"20051104155914.GA9567@ferdyx.org","threadId":"2347","inReplyTo":"20051104155314.GB23790@harddisk-recovery.nl","subject":"Re: Tags not transferred with git pull?","fromName":"Fernando J. Pereda","fromEmail":"ferdy@ferdyx.org","sentAt":"2005-11-04T15:59:14Z","receivedAt":"2005-11-04T15:59:14Z","isPatch":false,"sender":{"key":"ferdy@ferdyx.org","avatar":"https://gravatar.com/avatar/96bf7c1ddf7ccd430255bd12d9d42b212dbc033b28c668a2bdf9c3995aa81e61?d=mp&s=160"},"body":"On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:\n| Hi,\n| \n| Is it OK that the latest git (0.99.9c) doesn't get the tags\n| (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance\n| to do a separate rsync to get them right.\n| \n\nAs Linus explained in a message earlier, a git fetch --tags will do it.\n\nCheers,\nFerdy\n\n-- \nFernando J. Pereda Garcimart�n\nGentoo Developer (Alpha,net-mail,mutt,git)\n20BB BDC3 761A 4781 E6ED  ED0B 0A48 5B0C 60BD 28D4\n"},{"id":"11131","messageId":"20051104160503.GC23790@harddisk-recovery.com","threadId":"2347","inReplyTo":"20051104155914.GA9567@ferdyx.org","subject":"Re: Tags not transferred with git pull?","fromName":"Erik Mouw","fromEmail":"erik@harddisk-recovery.com","sentAt":"2005-11-04T16:05:03Z","receivedAt":"2005-11-04T16:05:03Z","isPatch":false,"sender":{"key":"erik@harddisk-recovery.com","avatar":null},"body":"On Fri, Nov 04, 2005 at 04:59:14PM +0100, Fernando J. Pereda wrote:\n> On Fri, Nov 04, 2005 at 04:53:14PM +0100, Erik Mouw wrote:\n> | Is it OK that the latest git (0.99.9c) doesn't get the tags\n> | (refs/tags/*) when doing a git pull? It's getting a bit of a nuisance\n> | to do a separate rsync to get them right.\n> \n> As Linus explained in a message earlier, a git fetch --tags will do it.\n\nAh, right. I got the impression that the latest git was supposed to do\nthat automatically with a git pull.\n\n\nErik\n\n-- \n+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --\n| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands\n"},{"id":"11145","messageId":"7vll04tdsz.fsf@assigned-by-dhcp.cox.net","threadId":"2347","inReplyTo":"20051104160503.GC23790@harddisk-recovery.com","subject":"Re: Tags not transferred with git pull?","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-11-04T19:26:20Z","receivedAt":"2005-11-04T19:26:20Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Erik Mouw <erik@harddisk-recovery.com> writes:\n\n> Ah, right. I got the impression that the latest git was supposed to do\n> that automatically with a git pull.\n\nSorry for the confusion.  The barebone Porcelainish shipped with\ngit-core does not fetch and store tags unconditionally under the\nsame name as the remote has without being told; you need to\nexplicitly tell it to 'git fetch --tags'.\n\nWhat was added recently was a low level support for Cogito to\nimplement the automatic tracking.  This is supposed to (I do not\noffhand know if the Cogito side has been updated to do so\nalready) work a bit differently.  Instead of grabbing all tags\nand all objects reachable from them, as you fetch commits from\nthe remote, the automatic tracking fetches tags that point at\nthem.  What this means is that the tags on the remote branch you\nare tracking would be fetched automatically but tags on a remote\nbranch you are not interested in are not.\n"},{"id":"11251","messageId":"20051107104408.GA7283@harddisk-recovery.com","threadId":"2347","inReplyTo":"7vll04tdsz.fsf@assigned-by-dhcp.cox.net","subject":"Re: Tags not transferred with git pull?","fromName":"Erik Mouw","fromEmail":"erik@harddisk-recovery.com","sentAt":"2005-11-07T10:44:08Z","receivedAt":"2005-11-07T10:44:08Z","isPatch":false,"sender":{"key":"erik@harddisk-recovery.com","avatar":null},"body":"On Fri, Nov 04, 2005 at 11:26:20AM -0800, Junio C Hamano wrote:\n> Sorry for the confusion.  The barebone Porcelainish shipped with\n> git-core does not fetch and store tags unconditionally under the\n> same name as the remote has without being told; you need to\n> explicitly tell it to 'git fetch --tags'.\n> \n> What was added recently was a low level support for Cogito to\n> implement the automatic tracking.  This is supposed to (I do not\n> offhand know if the Cogito side has been updated to do so\n> already) work a bit differently.  Instead of grabbing all tags\n> and all objects reachable from them, as you fetch commits from\n> the remote, the automatic tracking fetches tags that point at\n> them.  What this means is that the tags on the remote branch you\n> are tracking would be fetched automatically but tags on a remote\n> branch you are not interested in are not.\n\nThanks for the explanation.\n\n\nErik\n\n-- \n+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --\n| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands\n"}]}