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

[PATCH 0/2] make git installation footprint smaller

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Jul 23, 2010, 17:50 UTC
Message-ID
<taBDPvzBKDtgdmYKlcbFJ_fQRnY4jBMR74BF1vetbRU3OZRMPpwtU0wTG1SSa0hFgNsCN5k9Qx8@cipher.nrlssc.navy.mil>

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
Next: Brandon Casey
Message 1 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.