From: Jakub Narebski <jnareb@gmail.com>
To: Marc Weber <marco-oweber@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Distribution size
Date: Sat, 26 Sep 2009 04:27:27 -0700 (PDT) [thread overview]
Message-ID: <m37hvmaqud.fsf@localhost.localdomain> (raw)
In-Reply-To: <1253962653-sup-1882@nixos>
Marc Weber <marco-oweber@gmx.de> writes:
> Has anyone thought about reducing distribution size ?
>
> comparison:
>
> git-1.6.4.4 i%du -hs .
> 115M .
Errr... what?
$ du -hs /usr/libexec/git-core/
8.0M
$ du -shc `rpm -ql git`
...
27M
But
$ du -sh git/.git
49M
(there is some of my commits there, some old branches pinned, and some
commits with other git(web) forks).
And
$ git archive HEAD --output=tmp.tar
$ du -sh tmp.tar
11M tmp.tar
> mercurial-1.0.2 i%du -hs .
> 5.4M .
>
> bazaar-1.10rc1 i%du -hs
> 21M .
>
> darcs-2.2.1 i%du -hs /nix/store/8xwfavyv22pvm3s60wvzcbq561fjk5di-darcs-2.2.1 nixos
> 32M .
>
> There was an attempt to reduce size by using a shared library in 2007:
> http://markmail.org/message/vzukaie4qvbghkq5
>
> So is there a reason why git takes up so much more disk space other than
> that its using many small executables?
Are you sure you are comparing the same thing in all cases?
And not in some cases after "make", with all object files?
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2009-09-26 11:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-26 11:11 Distribution size Marc Weber
2009-09-26 11:22 ` Johannes Schindelin
2009-09-26 15:17 ` Thomas Singer
2009-09-26 16:00 ` Johannes Schindelin
2009-09-28 12:48 ` Marius Storm-Olsen
2009-09-29 9:06 ` Thomas Singer
2009-09-29 10:47 ` Johannes Schindelin
2009-09-26 11:27 ` Jakub Narebski [this message]
2009-09-26 11:53 ` Tay Ray Chuan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37hvmaqud.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=marco-oweber@gmx.de \
/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.
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 NNTP newsgroup(s).