git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] make git installation footprint smaller

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Jul 23, 2010, 18:12 UTC
Message-ID
<4C49DB84.9060001@gmail.com>
In-Reply-To
<taBDPvzBKDtgdmYKlcbFJ_fQRnY4jBMR74BF1vetbRU3OZRMPpwtU0wTG1SSa0hFgNsCN5k9Qx8@cipher.nrlssc.navy.mil>
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?
Previous: Brandon CaseyNext: Brandon Casey
Message 4 of 6 in “make git installation footprint smaller”
  1. 0/2 make git installation footprint smallerBrandon Casey, Jul 23, 2010
  2. 1/2 Makefile: link builtins residing in bin directory to main git binary tooBrandon Casey, Jul 23, 2010
  3. 2/2 Makefile: make hard/symbolic links for non-builtins tooBrandon Casey, Jul 23, 2010
  4. A Large Angry SCMJul 23, 2010
  5. Brandon CaseyJul 23, 2010
  6. Jonathan NiederJul 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.