Re: [PATCH] gc: fix off-by-one error with gc.autoPackLimit

2016-06-27 Thread Jeff King
On Sat, Jun 25, 2016 at 06:46:47AM +, Eric Wong wrote: > This matches the documentation and allows gc.autoPackLimit=1 > to maintain a single pack without attempting a repack on every > "git gc --auto" invocation. > > Signed-off-by: Eric Wong > --- > builtin/gc.c | 2 +- > 1

[PATCH] gc: fix off-by-one error with gc.autoPackLimit

2016-06-25 Thread Eric Wong
This matches the documentation and allows gc.autoPackLimit=1 to maintain a single pack without attempting a repack on every "git gc --auto" invocation. Signed-off-by: Eric Wong --- builtin/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/gc.c