git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Peter Stahlir" <peter.stahlir@googlemail.com>
To: "Karl Hasselström" <kha@treskal.com>
Cc: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: Git as a filesystem
Date: Fri, 21 Sep 2007 15:28:20 +0200	[thread overview]
Message-ID: <fbe8b1780709210628u24c14117p5174bedb3d1912cb@mail.gmail.com> (raw)
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?

  reply	other threads:[~2007-09-21 13:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 10:51 Git as a filesystem Peter Stahlir
2007-09-21 11:11 ` Johannes Schindelin
2007-09-21 11:41   ` Peter Stahlir
2007-09-21 12:53     ` Karl Hasselström
2007-09-21 13:28       ` Peter Stahlir [this message]
2007-09-21 13:41         ` Michael Poole
2007-09-21 14:38         ` jlh
2007-09-21 17:29         ` Dmitry Potapov
2007-09-21 23:56           ` Martin Langhoff
2007-09-22  3:09             ` Sam Vilain
2007-09-21 13:22     ` Nicolas Pitre
2007-09-21 13:35       ` Peter Stahlir
2007-09-21 13:45         ` Nicolas Pitre
2007-09-21 15:46         ` Christian von Kietzell
2007-09-21 23:33       ` Eric Wong
2007-09-21 23:42         ` Johannes Schindelin
2007-09-22  2:06           ` Eric Wong
2007-09-22 12:06             ` Johannes Schindelin
2007-09-21 14:22   ` Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fbe8b1780709210628u24c14117p5174bedb3d1912cb@mail.gmail.com \
    --to=peter.stahlir@googlemail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=kha@treskal.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).