Re: [PATCH 0/2] make git installation footprint smaller
On 07/23/2010 01:50 PM, Brandon Casey wrote:
Show 21 quoted lines
> 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(-)
>
What happens when bindir and execdir are the same?