Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gc: fix off-by-one error with gc.autoPackLimit
[gitweb.git]
/
builtin
/
gc.c
diff --git
a/builtin/gc.c
b/builtin/gc.c
index 5c634afc0022c0ea7a8cd8c81727935ad79a6333..15e27809296d98e687b292ee5fa333de02335dc7 100644
(file)
--- a/
builtin/gc.c
+++ b/
builtin/gc.c
@@
-145,7
+145,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)