diff --git a/builtin-gc.c b/builtin-gc.c
index 95917d74a873065bf9f928da37aa40e9e0d1f688..509bb9c6b33760c7a6ef84b759ae79f358fdeb83 100644 (file)
--- a/builtin-gc.c
+++ b/builtin-gc.c
static int need_to_gc(void)
{
/*
- * Setting gc.auto and gc.autopacklimit to 0 or negative can
- * disable the automatic gc.
+ * Setting gc.auto to 0 or negative can disable the
+ * automatic gc.
*/
- if (gc_auto_threshold <= 0 && gc_auto_pack_limit <= 0)
+ if (gc_auto_threshold <= 0)
return 0;
/*