Re: Cogito: cg-clone doesn't like packed tag objects
From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:42:07
On Sat, 24 Sep 2005, Petr Baudis wrote:
Dear diary, on Sat, Sep 24, 2005 at 04:00:04AM CEST, I got a letter where Junio C Hamano [off-list ref] told me that...quoted
Petr Baudis [off-list ref] writes:quoted
It takes loooong time, unfortunately - scp -r takes its time itself on many small files, and then we have to make a separate call to git-ssh-fetch for each tag. Isn't that braindamaged... :/I think you could run git-peek-remote to find all the refs and then run git-fetch-pack to slurp all the tags (and heads for that matter) at once. Is there a particular reason you would prefer the commit walker?Actually, probably not, except consistency with rsync and http handling - but that's obviously not too good reason. I did it this way since I'm going to be a bit busy again from now on.
It wouldn't actually be very hard to rewrite git-*-fetch programs to fetch with a bunch of starting points. The main reason I haven't is actually that I don't have any ideas for a way to extend the command line argument format to include it. -Daniel *This .sig left intentionally blank*