From: Tom Prince Date: Tue, 27 Sep 2005 05:02:36 GMT Subject: Re: Cogito: cg-clone doesn't like packed tag objects Message-ID: <8764snyufn.fsf@ualberta.net> In-Reply-To: <7vr7bb5d8w.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > Petr Baudis writes: > >> Yes - so you can't save the tag objects either, but then >> you'll re-slurp them again and again, which is kind of >> silly. Alternatively, you could actually make git-fsck-object >> silent about the case when an unreachable (not referenced in >> refs/) tag object references a non-existing object - perhaps >> unless --strict is passed to it. If you think the rest of my >> logic is ok, I think this change to facilitate this "tags >> caching" is not unreasonable. > > Now you completely lost me. I really do not understand what you > mean by tags caching and re-slurping. > I think Petr is interested in the case where the user hasn't asked for a particular tag. He wants to automatically grab all the tags in a repository, or at least those that refer to a branch being downloaded. Of course, if somebody asks for a specific tag, then everything necessary should be downloaded. Somebody is fetching your maint branch, Petr want to automatically download all the tags v0.99.7[a-d], without the user specifying them explicitly. Or more complex, somebody is tracking your master but NOT maint. Then Petr wants to download tags v0.99.[0-9] but not v0.99.7[a-d]. Tom