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 25, 2005, 23:43 UTC
Message-ID
<118833cc050425164311f0bbbc@mail.gmail.com>
In-Reply-To
<d4jn91$n4f$1@sea.gmane.org>

The two approaches are very much alike -- there are only so many ways to skin a cat, after all.

I actually first considered the -K approach, but then realized that only very new rsyncs support that. My version works with rsync 2.6.2 (and maybe earlier). It could be made to go further back by not using -from0 which isn't really needed here.

But I like your check-for-HEAD detail.
Morten
Previous: Dan Holmsand
Message 6 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.