gc docs: change --keep-base-pack to --keep-largest-pack
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 20 Nov 2020 11:55:21 +0000 (12:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 19:39:55 +0000 (11:39 -0800)
commitdb5368b846ac4c21f8d3bbc8e63c9b8d38ff19ff
tree02aecf26b64634c4c222ba29b19f728fcf967795
parent7397ca33730626f682845f8691b39c305535611e
gc docs: change --keep-base-pack to --keep-largest-pack

The --keep-base-pack option never existed in git.git. It was the name
for the --keep-largest-pack option in earlier revisions of that series
before it landed as ae4e89e549 ("gc: add --keep-largest-pack option",
2018-04-15).

The later patches in that series[1][2] weren't changed to also refer
to --keep-largest-pack, so we've had this reference to a nonexisting
option ever since the feature initially landed.

1. 55dfe13df9 ("gc: add gc.bigPackThreshold config", 2018-04-15)

2. 9806f5a7bf ("gc --auto: exclude base pack if not enough mem to
   "repack -ad"", 2018-04-15)

Reported-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/gc.txt