Re: Cogito: cg-clone doesn't like packed tag objects
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:07
Tom Prince [off-list ref] writes:
Junio C Hamano [off-list ref] writes:quoted
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.
Ah, _automatically_ was the key. If all you had were tags and there were no branches (the "I could have done without maint branch"), that kind of automatic grabbing would not work well anyway. I personally feel that is a lost cause. The user can run 'git ls-remote' himself to find out if there are new tags on the remote side and ask for them if needed. Also, I feel names under refs/ is local to the repository, but if the tags are automatically grabbed, I presume they are stored directly under the same name in refs/tags as the remote side has them?