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

Re: git on afs

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Oct 18, 2007, 21:28 UTC
Message-ID
<Pine.LNX.4.64.0710181613420.30020@torch.nrlssc.navy.mil>
In-Reply-To
<20071018203106.GA13518@fries.net>
On Thu, 18 Oct 2007, Todd T. Fries wrote:
> 1) git presumes that link() works fine across subdirs; in afs land,
>   hardlinks do not succeed ever

I think this already falls back to rename() on failure. Take a look at move_temp_to_file(), this is the only place that calls link_temp_to_file().

link() on afs returns non-zero? and not EEXIST right?
-brandon
Previous: Todd T. FriesNext: Brandon Casey
Message 2 of 12 in “git on afs”
  1. Todd T. FriesOct 18, 2007
  2. Brandon CaseyOct 18, 2007
  3. Brandon CaseyOct 18, 2007
  4. Linus TorvaldsOct 18, 2007
  5. Shawn O. PearceOct 19, 2007
  6. Todd T. FriesOct 19, 2007
  7. Linus TorvaldsOct 19, 2007
  8. Linus TorvaldsOct 19, 2007
  9. Shawn O. PearceOct 19, 2007
  10. Todd T. FriesOct 19, 2007
  11. Daniel BarkalowOct 19, 2007
  12. Shawn O. PearceOct 20, 2007

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.