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

brtfs COW links and git

From
Larry D'Anna <larry@elder-gods.org>
Date
Mar 19, 2011, 20:15 UTC
Message-ID
<20110319201532.GA6862@cthulhu>

I wish git could use COW links. I wish I could put a large binary into git and have the only underlying filesystem operation be to cp --reflink and to save the metadata. There are a few complications:

How does it know which files to reflink?  attributes?  a size limit?
What does git gc do with reflinks?

Should diff-delta be reflink-aware? Perhaps it could query the fs for blocklists.

Before I dive into implementing this, I'd like to get your comments and advice, to maximize the chances of success.

Thanks!
Next: Jeff King
Message 1 of 4 in “brtfs COW links and git”
  1. Larry D'AnnaMar 19, 2011
  2. Jeff KingMar 21, 2011
  3. Larry D'AnnaMar 22, 2011
  4. Jeff KingMar 22, 2011

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.