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

[PATCH 0/2] builtin/maintenance: improve heuristic for "rerere gc"

From
Patrick Steinhardt <ps@pks.im>
Date
Sep 3, 2026, 09:04 UTC
Message-ID
<20260903-b4-pks-maintenance-rerere-gc-heuristic-v1-0-9929c45a9788@pks.im>
Hi,
as reported and discussed in [1]. Thanks!
Patrick
[1]: <pull.2214.git.1788337897490.gitgitgadget@gmail.com>
---
Patrick Steinhardt (2):
      rerere: extract logic to determine whether entries are stale
      builtin/maintenance: improve heuristic for "rerere gc"
 Documentation/config/maintenance.adoc |  8 ++--
 builtin/gc.c                          | 26 ++--------
 rerere.c                              | 89 +++++++++++++++++++++++++++++------
 rerere.h                              |  6 +++
 t/t7900-maintenance.sh                | 61 ++++++++++++++++++------
 5 files changed, 135 insertions(+), 55 deletions(-)

--- base-commit: 3cb9185f65410273787f74333cc027d2ea5daada change-id: 20260903-b4-pks-maintenance-rerere-gc-heuristic-763b0a9a50d2

Next: Patrick Steinhardt
Message 1 of 17 in “builtin/maintenance: improve heuristic for "rerere gc"”
  1. 0/2 builtin/maintenance: improve heuristic for "rerere gc"Patrick Steinhardt, Sep 3, 2026
  2. 1/2 rerere: extract logic to determine whether entries are stalePatrick Steinhardt, Sep 3, 2026
  3. Derrick StoleeSep 3, 2026
  4. Patrick SteinhardtSep 4, 2026
  5. 2/2 builtin/maintenance: improve heuristic for "rerere gc"Patrick Steinhardt, Sep 3, 2026
  6. Derrick StoleeSep 3, 2026
  7. Patrick SteinhardtSep 4, 2026
  8. Thomas BachemSep 3, 2026
  9. 0/2 builtin/maintenance: improve heuristic for "rerere gc"Patrick Steinhardt, Sep 4, 2026
  10. 1/2 rerere: extract logic to determine whether entries are stalePatrick Steinhardt, Sep 4, 2026
  11. 2/2 builtin/maintenance: improve heuristic for "rerere gc"Patrick Steinhardt, Sep 4, 2026
  12. Derrick StoleeSep 4, 2026
  13. Junio C HamanoSep 4, 2026
  14. Junio C HamanoSep 4, 2026
  15. Thomas BachemSep 4, 2026
  16. Patrick SteinhardtSep 7, 2026
  17. Patrick SteinhardtSep 7, 2026

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.