summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-04-15 17:36:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-16 13:52:29 +0900
commit55dfe13df9bb38809bc45b8d6d5c7f5bf0470c11 (patch)
tree17ae0d2ce6d7525a2042e691166c51124736d048 /builtin/am.c
parentgc: add --keep-largest-pack option (diff)
downloadtgif-55dfe13df9bb38809bc45b8d6d5c7f5bf0470c11.tar.xz
gc: add gc.bigPackThreshold config
The --keep-largest-pack option is not very convenient to use because you need to tell gc to do this explicitly (and probably on just a few large repos). Add a config key that enables this mode when packs larger than a limit are found. Note that there's a slight behavior difference compared to --keep-largest-pack: all packs larger than the threshold are kept, not just the largest one. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/am.c')
0 files changed, 0 insertions, 0 deletions