git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] make git installation footprint smaller
@ 2010-07-23 17:50 Brandon Casey
  2010-07-23 17:50 ` [PATCH 1/2] Makefile: link builtins residing in bin directory to main git binary too Brandon Casey
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Brandon Casey @ 2010-07-23 17:50 UTC (permalink / raw)
  To: git

Ever wonder where that extra 5MB of disk space went that you thought you
had?  Well, it turns out that git isn't being quite as space-efficient as
it could be.  Some files that could be installed as links are instead being
installed as full copies of the original.

With these two patches, we shrink the installation footprint of git by
making hard or symbolic links for non-builtin programs and for those binaries
installed in the bin directory.  We already do this for binaries installed
in libexec.  This can reduce the size of a git installation on the order of
10-30%.  Probably about 5-10MB.  Whoopee!!!

Enjoy.

Brandon Casey (2):
  Makefile: link builtins residing in bin directory to main git binary
    too
  Makefile: make hard/symbolic links for non-builtins too

 Makefile |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

-- 
1.7.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-24  2:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 17:50 [PATCH 0/2] make git installation footprint smaller Brandon Casey
2010-07-23 17:50 ` [PATCH 1/2] Makefile: link builtins residing in bin directory to main git binary too Brandon Casey
2010-07-23 17:50 ` [PATCH 2/2] Makefile: make hard/symbolic links for non-builtins too Brandon Casey
2010-07-23 18:12 ` [PATCH 0/2] make git installation footprint smaller A Large Angry SCM
2010-07-23 18:17   ` Brandon Casey
2010-07-24  2:31 ` Jonathan Nieder

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).