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

Re: [RFC/PATCH 0/3] git-gui: Don’t trigger garbage collection warning so easily

From
Johannes Sixt <j6t@kdbg.org>
Date
Feb 18, 2010, 20:40 UTC
Message-ID
<4B7DA5D7.20704@kdbg.org>
In-Reply-To
<20100218143431.GA30486@progeny.tock>
Jonathan Nieder schrieb:
Show 5 quoted lines
> This series does the simplest thing I could figure out how to
> implement: it builds in the heuristic for counting loose objects from
> builtin-gc.c into git-gui (so it will respect the gc.auto
> configuration and by default will trigger much less often) and if that
> heuristic is satisfied, runs gc --auto.
Any improvement in this respect is appreciated.

Minor nit: By all means while you are in this area, please do not carry over this silly "your repository has *approximately* 576 objects" message (highlight is mine). "576" is not approximate. "500" is approximate, "750" is, too, but "1024" etc. is not. ;-)

-- Hannes
Previous: Jonathan Nieder
Message 6 of 6 in “git-gui: Don’t trigger garbage collection warning so easily”
  1. 0/3 git-gui: Don’t trigger garbage collection warning so easilyJonathan Nieder, Feb 18, 2010
  2. 1/3 git-gui: factor out too_many_loose_objects routine from hint_gcJonathan Nieder, Feb 18, 2010
  3. 2/3 git-gui: Do not hold the user hostage with a full gc at startupJonathan Nieder, Feb 18, 2010
  4. 3/3 git-gui: Do not suggest a gc if gc --auto would not do itJonathan Nieder, Feb 18, 2010
  5. Jonathan NiederFeb 18, 2010
  6. Johannes SixtFeb 18, 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.