Merge branch 'ew/gc-auto-pack-limit-fix' into maint
commit87be95b6f9c51c0492f48e30fd14316934a7e3c8
authorJunio C Hamano <gitster@pobox.com>
Thu, 28 Jul 2016 18:25:56 +0000 (28 11:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jul 2016 18:25:56 +0000 (28 11:25 -0700)
tree925288e94175ff1905c095781ad23bfc037b9b94
parent52d637c422840c410eb179b5d8960db5863cdea7
parent5f4e3bf536621675efd51020eb2950986b882e18
Merge branch 'ew/gc-auto-pack-limit-fix' into maint

"gc.autoPackLimit" when set to 1 should not trigger a repacking
when there is only one pack, but the code counted poorly and did
so.

* ew/gc-auto-pack-limit-fix:
  gc: fix off-by-one error with gc.autoPackLimit
builtin/gc.c