[PATCH 0/2] builtin/maintenance: fix locking and respect "gc.auto"
- From
Patrick Steinhardt <ps@pks.im>
- Date
- May 11, 2026, 12:29 UTC
- Message-ID
- <20260511-pks-maintenance-fix-lock-with-detach-v1-0-ccd7d62c9a40@pks.im>
Hi,
this patch series addresses the issues reported in [1]. The series is built on top of Git 2.54.0.
Thanks!
Patrick
[1]: <CAKcFC3arsYExb5dCMQspo4V9UFDadFaj8Q4PUsMWZJw_eYrMzA@mail.gmail.com>
---
Patrick Steinhardt (2):
builtin/maintenance: fix locking with "--detach"
run-command: honor "gc.auto" for auto-maintenancebuiltin/gc.c | 26 ++++++++++++-- lockfile.c | 9 +++++ lockfile.h | 10 ++++++ run-command.c | 6 ++-- setup.c | 31 +++++++++++----- setup.h | 1 + t/t7900-maintenance.sh | 95 ++++++++++++++++++++++++++++++++++++++++++++------ 7 files changed, 154 insertions(+), 24 deletions(-)
--- base-commit: 13ef77ce6e222bef3ab145642e6ef1486075211c change-id: 20260511-pks-maintenance-fix-lock-with-detach-a608e9b6adeb