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

Re: Git as a filesystem

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Sep 21, 2007, 17:29 UTC
Message-ID
<20070921172941.GA7399@potapov>
In-Reply-To
<fbe8b1780709210628u24c14117p5174bedb3d1912cb@mail.gmail.com>
On Fri, Sep 21, 2007 at 03:28:20PM +0200, Peter Stahlir wrote:
> Yes, but if there were deb and tar support in git (to automatically unpack
> archives and store the contents), together with the best available
> binary diffs I think the repository could be significantly smaller because
> files common to all architectures could be deltified,

You can unpack contain of gzipped or bzipped files and deltify it, but you cannot restore exactly the same gzip or bzip file based on its content unless you use exactly the same version of compressor that was used to create the original file. So, if you put any .deb file in such a system, you will get back a different .deb file (with a different SHA1). So, aside high CPU and memory requirements, this system cannot work in principle unless all users have exactly the same version of a compressor.

Dmitry
Previous: jlhNext: Martin Langhoff
Message 8 of 19 in “Git as a filesystem”
  1. Peter StahlirSep 21, 2007
  2. Johannes SchindelinSep 21, 2007
  3. Peter StahlirSep 21, 2007
  4. Karl HasselströmSep 21, 2007
  5. Peter StahlirSep 21, 2007
  6. Michael PooleSep 21, 2007
  7. jlhSep 21, 2007
  8. Dmitry PotapovSep 21, 2007
  9. Martin LanghoffSep 21, 2007
  10. Sam VilainSep 22, 2007
  11. Nicolas PitreSep 21, 2007
  12. Peter StahlirSep 21, 2007
  13. Nicolas PitreSep 21, 2007
  14. Christian von KietzellSep 21, 2007
  15. Eric WongSep 21, 2007
  16. Johannes SchindelinSep 21, 2007
  17. Eric WongSep 22, 2007
  18. Johannes SchindelinSep 22, 2007
  19. Miklos VajnaSep 21, 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.