Re: cg-pull to pull branches, not the whole repository
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 14, 2005, 22:05 UTC
- Message-ID
- <7vu0gne25j.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1126733516.10827.54.camel@dv>
Pavel Roskin <proski@gnu.org> writes:
> ... Unfortunately, listings are > still needed to get refs/tags and refs/heads. Any fix for that would > involve git core, and I don't see an elegant fix.
All the necessary "core" support should already be there, except for the client side support. Please look at yesterday's thread with title "dumb transports not being welcomed".
Show 5 quoted lines
> For git+ssh protocol, git-fetch-pack already provides a server side > solution. Client side support would be needed for http and rsync. > > I'd like to hear comments before I attempt any hacking in this > direction.
Personally I think Cogito should be able to just call git-fetch to implement cg-pull -- I do not claim the current git-fetch has everything needed (incapable of using objects/info/alternates is an example), but we should be able to fix and enhance just one program to make everybody happy, not two.