git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 0/7] nd/repack-keep-pack update

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Apr 15, 2018, 15:36 UTC
Message-ID
<20180415153618.32019-1-pclouds@gmail.com>
In-Reply-To
<20180414152642.4666-1-pclouds@gmail.com>
On Sat, Apr 14, 2018 at 9:47 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> The only (trivial) issue I found in the patches themselves was that
> between 4/5 and 5/7 you're adding an empty line to config.txt in 4/7
> just to erase it in 5/7, better not to add it to begin with, but
> hopefully Junio can fix that up (if he cares).

Fixed (and is the only change in v2) in case Junio has not picked up the last round and fixed it himself yet.

Nguyễn Thái Ngọc Duy (7):
  t7700: have closing quote of a test at the beginning of line
  repack: add --keep-pack option
  gc: add --keep-largest-pack option
  gc: add gc.bigPackThreshold config
  gc: handle a corner case in gc.bigPackThreshold
  gc --auto: exclude base pack if not enough mem to "repack -ad"
  pack-objects: show some progress when counting kept objects
 Documentation/config.txt           |  12 +++
 Documentation/git-gc.txt           |  19 +++-
 Documentation/git-pack-objects.txt |   9 +-
 Documentation/git-repack.txt       |   9 +-
 builtin/gc.c                       | 165 +++++++++++++++++++++++++++--
 builtin/pack-objects.c             |  83 +++++++++++----
 builtin/repack.c                   |  21 +++-
 config.mak.uname                   |   1 +
 git-compat-util.h                  |   4 +
 object-store.h                     |   1 +
 pack-objects.h                     |   2 +
 t/t6500-gc.sh                      |  32 ++++++
 t/t7700-repack.sh                  |  27 ++++-
 13 files changed, 349 insertions(+), 36 deletions(-)
-- 
2.17.0.367.g5dd2e386c3
Previous: Junio C HamanoNext: Nguyễn Thái Ngọc Duy
Message 11 of 19 in “nd/repack-keep-pack update”
  1. 0/7 nd/repack-keep-pack updateNguyễn Thái Ngọc Duy, Apr 14, 2018
  2. 3/7 gc: add --keep-largest-pack optionNguyễn Thái Ngọc Duy, Apr 14, 2018
  3. 2/7 repack: add --keep-pack optionNguyễn Thái Ngọc Duy, Apr 14, 2018
  4. 7/7 pack-objects: show some progress when counting kept objectsNguyễn Thái Ngọc Duy, Apr 14, 2018
  5. 5/7 gc: handle a corner case in gc.bigPackThresholdNguyễn Thái Ngọc Duy, Apr 14, 2018
  6. 6/7 gc --auto: exclude base pack if not enough mem to "repack -ad"Nguyễn Thái Ngọc Duy, Apr 14, 2018
  7. 4/7 gc: add gc.bigPackThreshold configNguyễn Thái Ngọc Duy, Apr 14, 2018
  8. 1/7 t7700: have closing quote of a test at the beginning of lineNguyễn Thái Ngọc Duy, Apr 14, 2018
  9. Ævar Arnfjörð BjarmasonApr 14, 2018
  10. Junio C HamanoApr 14, 2018
  11. 0/7 nd/repack-keep-pack updateNguyễn Thái Ngọc Duy, Apr 15, 2018
  12. 1/7 t7700: have closing quote of a test at the beginning of lineNguyễn Thái Ngọc Duy, Apr 15, 2018
  13. 2/7 repack: add --keep-pack optionNguyễn Thái Ngọc Duy, Apr 15, 2018
  14. 5/7 gc: handle a corner case in gc.bigPackThresholdNguyễn Thái Ngọc Duy, Apr 15, 2018
  15. 7/7 pack-objects: show some progress when counting kept objectsNguyễn Thái Ngọc Duy, Apr 15, 2018
  16. 6/7 gc --auto: exclude base pack if not enough mem to "repack -ad"Nguyễn Thái Ngọc Duy, Apr 15, 2018
  17. 3/7 gc: add --keep-largest-pack optionNguyễn Thái Ngọc Duy, Apr 15, 2018
  18. 4/7 gc: add gc.bigPackThreshold configNguyễn Thái Ngọc Duy, Apr 15, 2018
  19. Junio C HamanoApr 16, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.