From: Junio C Hamano Date: Wed, 22 Feb 2006 03:22:16 GMT Subject: Re: How to not download objects more than needed? Message-ID: <7vacckt6vr.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060222031136.GN5000@delft.aura.cs.cmu.edu> Jan Harkes writes: > Neat, it only fetches tags that refer to things we already have. Hadn't > checked what the automatic tag fetcher was doing. > > So either introduce temporary local refs that can be removed once the > tags have been fetched,... I think it is enough just to disable tag following when you are promiscuously fetching. That is, do the tag following only if the main fetch is going to store a ref because it has tracking branch for the remote side. Otherwise the remote tags do not matter and if you really care about them you can ask with --tags.