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

Re: [PATCH] git-gui: suggest gc only when counting at least 2 objects

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 13, 2009, 17:58 UTC
Message-ID
<7vr5uasp4a.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090913160637.GA15256@localhost>
Clemens Buchacher <drizzd@aon.at> writes:
> On Windows, git-gui suggests running the garbage collector if it finds
> 1 or more files in .git/objects/42 (as opposed to 8 files on other
> platforms).

Somebody cares to explain why this threashold number has to be different per platform in the first place? Instead of bumping up to 2 like your patch did, what bad things would happen if you increased it to 8 on Windows? Doesn't the same badness happen on non-Windows because they have the threashold set to 8 already?

Previous: Clemens BuchacherNext: Clemens Buchacher
Message 8 of 13 in “preserve mtime of local clone”
  1. preserve mtime of local cloneClemens Buchacher, Sep 9, 2009
  2. Junio C HamanoSep 12, 2009
  3. Clemens BuchacherSep 12, 2009
  4. preserve mtime of local cloneClemens Buchacher, Sep 12, 2009
  5. Junio C HamanoSep 13, 2009
  6. preserve mtime of local cloneClemens Buchacher, Sep 13, 2009
  7. git-gui: suggest gc only when counting at least 2 objectsClemens Buchacher, Sep 13, 2009
  8. Junio C HamanoSep 13, 2009
  9. Clemens BuchacherSep 13, 2009
  10. Jeff KingSep 13, 2009
  11. Clemens BuchacherSep 13, 2009
  12. git-gui: search 4 directories to improve statistic of gc hintClemens Buchacher, Sep 13, 2009
  13. Shawn O. PearceSep 14, 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.