From: Morten Welinder Date: Sun, 24 Apr 2005 00:39:17 GMT Subject: Re: git pull issues... Message-ID: <118833cc05042317391a441448@mail.gmail.com> In-Reply-To: <20050423220049.GC13222@pasky.ji.cz> > > 1. Multiple rsync call might connect to different servers (with > > round-robin DNS). The effect > > will be interesting. One call, if possible, would be better. > > If you can do it without overwriting HEAD, please go ahead and send me > the patch. :-) I'll have a go at it later, but something like this ought to work: -d .rsync-git && die "previous pull failed -- cleanup" mkdir .rsync-git || die "cannot create .rsync-git" ln -s ../.git/objects .rsync-git/objects || die "cannot create symlink" rsync ... --keep-dirlinks ... ... Morten