Re: cg-pull to pull branches, not the whole repository
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 14, 2005, 23:34 UTC
- Message-ID
- <20050914233412.GG2936@pasky.or.cz>
- In-Reply-To
- <1126733516.10827.54.camel@dv>
Dear diary, on Wed, Sep 14, 2005 at 11:31:56PM CEST, I got a letter where Pavel Roskin <proski@gnu.org> told me that...
> Hello!
Hello,
> I believe cg-pull should be changed to pull only the objects relevant to > the branch rather than the whole repository.
well, that should be the case for all the methods but rsync. Actually, it's not the case for local pulls now either, because git-local-pull wasn't able to deal with packs, but I think that's fixed by now so I'll reenable that.
Show 5 quoted lines
> Ideally, cogito should not rely on the server being able to list > directories. This would allow support more protocols and servers, e.g. > http servers without directory listings. 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.
Well, there's that update-server-info thing. It'd be nice if git-send-pack could call that automagically or something, so it's kept up-to-date. But I have no idea about how expensive can the command actually be.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox