Re: git pull issues...
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Apr 24, 2005, 00:39 UTC
- Message-ID
- <118833cc05042317391a441448@mail.gmail.com>
- In-Reply-To
- <20050423220049.GC13222@pasky.ji.cz>
Show 6 quoted lines
> > 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