Re: Cogito: cg-clone doesn't like packed tag objects
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 27, 2005, 17:07 UTC
- Message-ID
- <7v64sm30dh.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20050927094029.GA30889@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
> Yes, that's perhaps a fine solution for the core GIT plumbing, but in > Cogito, I _really_ want to have this working automagically.
I agree that would be nice. If you are only interested in tags that refer to commits that anchor points in published branches, maybe we should have something along the lines of info/refs to help the downloaders? Perhaps info/refs showing the SHA1 id of the non-tag object each tag dereferences to in addition to the current output?
This is a bit hard and needs some thinking to do cleanly, because what is in info/refs is what is sent from the publisher side over git-native protocol at the beginning of the handshake, and it is not easy to add that to git-native protocol cleanly and backward-compatibly (I think I know how without breaking existing clients, but it is not clean).