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

Re: Git as a filesystem

From
PSPeter Stahlir <peter.stahlir@googlemail.com>
Date
Sep 21, 2007, 13:28 UTC
Message-ID
<fbe8b1780709210628u24c14117p5174bedb3d1912cb@mail.gmail.com>
In-Reply-To
<20070921125337.GA28456@diana.vm.bytemark.co.uk>
> > I wonder how big a deltified Debian mirror in one pack file would
> > be. :)
>
> Very, very close to 252 GB, since .deb files are already compressed.

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,

I did a quick check with 100MB of deb archives; the result was nearly 100MB as you said. I also did a quick check with all .so files in my /usr/lib directory; it shrunk from 50MB to 20MB, the same is achieved with tar + bz2.

But the thing is, I think there is a lot of redundancy in a) a Debian mirror or b) your disk at home.

Telling git to handle -for example- deb archives and storing everything in a pack file would take advantage of redundancy across _all_ files. So the /usr/share/doc of all architectures could be compressed.

Right?
Previous: Karl HasselströmNext: Michael Poole
Message 5 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.