git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull issues...

From
MWMorten 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
Previous: Petr BaudisNext: Morten Welinder
Message 3 of 6 in “git pull issues...”
  1. Morten WelinderApr 23, 2005
  2. Petr BaudisApr 23, 2005
  3. Morten WelinderApr 24, 2005
  4. Morten WelinderApr 25, 2005
  5. Dan HolmsandApr 25, 2005
  6. Morten WelinderApr 25, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.