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

Re: [PATCH] Documentation/git-gc.txt: change --aggressive description

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
May 13, 2008, 10:57 UTC
Message-ID
<20080513105728.GA3088@mithlond.arda.local>
In-Reply-To
<1210672413-8761-1-git-send-email-pdebie@ai.rug.nl>
Pieter de Bie wrote (2008-05-13 11:53 +0200):
Show 9 quoted lines
> I keep seeing people regularly packing their repo with git gc
> --aggressive. However, in my experience, this seldom results in
> a smaller repository. This can be because the repository was repacked
> tightly previously (for example, with a high --window value) or
> because incremental "git gc" just makes better packs anyway. Throwing
> away that information is often not a good idea.
> 
> The documentation for the --aggressive flag was misleading, in that it
> hints that you'll get a smaller pack, which is often not the case.

This patch might be a good thing. But from ordinary user's point of view this raises questions: if gc --aggressive really is not that aggressive then the option itself is misleading. Why not change gc --aggressive to be really effective? Using high --window/--depth value etc.

Previous: Pieter de BieNext: Teemu Likonen
Message 2 of 10 in “Documentation/git-gc.txt: change --aggressive description”
  1. Documentation/git-gc.txt: change --aggressive descriptionPieter de Bie, May 13, 2008
  2. Teemu LikonenMay 13, 2008
  3. Teemu LikonenMay 13, 2008
  4. Johannes SchindelinMay 13, 2008
  5. Teemu LikonenMay 13, 2008
  6. Pieter de BieMay 13, 2008
  7. Johannes SchindelinMay 13, 2008
  8. Pieter de BieMay 14, 2008
  9. Matthieu MoyMay 14, 2008
  10. Pieter de BieMay 24, 2008

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.