Merge branch 'ew/gc-auto-pack-limit-fix'
[gitweb.git] / builtin / gc.c
index c583aad6ec2896c8a6ad3b35671e92a3c0478bcd..332bcf7e7a0ae1900199349870103c388c9ffb35 100644 (file)
@@ -177,7 +177,7 @@ static int too_many_packs(void)
                 */
                cnt++;
        }
-       return gc_auto_pack_limit <= cnt;
+       return gc_auto_pack_limit < cnt;
 }
 
 static void add_repack_all_option(void)