On Thu, Sep 29, 2016 at 12:45 PM, Junio C Hamano wrote: > > I think that is a reasonable way to go. > > #define DEFAULT_ABBREV get_default_abbrev() > > would help. So something like this that replaces the previous patch? Somebody should really double-check my heuristics, to see that I did the pack counting etc right. It doesn't do alternate loose file counting at all, and maybe it could matter. The advantage of the previous patch was that it got the object counting right almost automatically, this actually has its own new object counting code and maybe I screwed it up. Linus