[PATCH v4 6/7] gc --auto: exclude base pack if not enough mem to "repack -ad"

2018-03-24 Thread Nguyễn Thái Ngọc Duy
pack-objects could be a big memory hog especially on large repos, everybody knows that. The suggestion to stick a .keep file on the giant base pack to avoid this problem is also known for a long time. Recent patches add an option to do just this, but it has to be either configured or activated man

[PATCH v4 6/7] gc --auto: exclude base pack if not enough mem to "repack -ad"

2018-03-24 Thread Nguyễn Thái Ngọc Duy
pack-objects could be a big memory hog especially on large repos, everybody knows that. The suggestion to stick a .keep file on the giant base pack to avoid this problem is also known for a long time. Recent patches add an option to do just this, but it has to be either configured or activated man