Shawn O. Pearce wrote:
But this suffers from the same fate if the user sets gc.auto too small and doesn't realize that the reason Git is always repacking is because over the last 6 months they have been unlucky enough to stage the magic number of unreachable blobs into the 17 directory and they have *never* run `git gc --prune` because the auto thing is working just fine for them and they don't realize they need to prune every once in a blue moon.
Check the modification times on those files and don't count ones that are older than the last git-gc run, maybe? That'd take care of the problem.
-Steve - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html