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

Re: [SCRIPT] cg-rpush & locking

From
Nicolas Pitre <nico@cam.org>
Date
May 31, 2005, 23:16 UTC
Message-ID
<Pine.LNX.4.63.0505311914550.6500@localhost.localdomain>
In-Reply-To
<20050531190005.GE18723@atomide.com>
On Tue, 31 May 2005, Tony Lindgren wrote:
> Anybody have any better ideas for locking that also works with
> rsync?
Why do you need a lock at all?

Just update your HEAD reference last when you push and get it first when you pull.

Nicolas
Previous: Tony LindgrenNext: Thomas Glanzmann
Message 2 of 13 in “[SCRIPT] cg-rpush & locking”
  1. Tony LindgrenMay 31, 2005
  2. Nicolas PitreMay 31, 2005
  3. Thomas GlanzmannJun 1, 2005
  4. Tony LindgrenJun 1, 2005
  5. Linus TorvaldsJun 2, 2005
  6. Daniel BarkalowJun 2, 2005
  7. Matthias UrlichsJun 2, 2005
  8. Tony LindgrenJun 2, 2005
  9. Matthias UrlichsJun 2, 2005
  10. Linus TorvaldsJun 2, 2005
  11. Tony LindgrenJun 2, 2005
  12. Daniel BarkalowJun 2, 2005
  13. Dan HolmsandJun 2, 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.