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

  parent reply	other threads:[~2007-09-21 17:29 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
2007-09-21 13:41         ` Michael Poole
2007-09-21 14:38         ` jlh
2007-09-21 17:29         ` Dmitry Potapov [this message]
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=20070921172941.GA7399@potapov \
    --to=dpotapov@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=kha@treskal.com \
    --cc=peter.stahlir@googlemail.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).