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?