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

Re: git repack: --depth=100000 causing larger not smaler pack file?

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Mar 23, 2009, 10:20 UTC
Message-ID
<e2b179460903230320x47d98bfdl614007bed7117b45@mail.gmail.com>
In-Reply-To
<86y6uwzgzo.fsf@broadpark.no>
2009/3/23 Kjetil Barvik <barvik@broadpark.no>:
Show 7 quoted lines
>  PS!  I have the following in my $HOME/.gitconfig file:
>
> [repack]
>        UseDeltaBaseOffset = true
> [gc]
>        auto = 25
>        autopacklimit = 1

Just an aside, but from my reading of how it works, there's very little point in setting gc.auto to anything less than 257 and statistically it won't kick in predictably unless set quite a bit higher (say an order of magnitude).

Mike
Previous: Kjetil BarvikNext: Peter Harris
Message 4 of 6 in “git repack: --depth=100000 causing larger not smaler pack file?”
  1. Kjetil BarvikMar 17, 2009
  2. Nicolas PitreMar 17, 2009
  3. Kjetil BarvikMar 23, 2009
  4. Mike RalphsonMar 23, 2009
  5. Peter HarrisMar 23, 2009
  6. Nicolas PitreMar 23, 2009

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.