Since 452b12c2e0 made the "geometric" strategy the default for auto maintenance, the maintenance run after a commit runs "git rerere gc" in the background whenever rr-cache has enough stale entries. The gc holds MERGE_RR.lock while pruning. setup_rerere() takes that lock with LOCK_DIE_ON_ERROR, so if a rebase reaches its next conflict at the same moment, the rebase dies before writing the state "git rebase --continue" needs. Later attempts to continue then fail with "you have staged changes in your working tree".
In v7, patch 1 makes rerere wait for the lock, by default up to one second, controlled by a rerere.lockTimeout setting, instead of dying at once. Patch 2 makes the "git rerere gc" started by auto maintenance do nothing while the lock is held. An explicit "git rerere gc" from a user still waits.
Bachem says he took Steinhardt's suggestions on patches 2 and 3. The old patch 3, which let a command that stops at a conflict go on without rerere, is dropped. It can return if users still hit the lock. Patch 2's log message is now Steinhardt's, with a last paragraph explaining why the new option is hidden, like "--skip-foreground-tasks" in "git maintenance run". rerere_gc() now takes its own flags through enum rerere_gc_flags, with RERERE_GC_NOWAIT.
Bachem argues the remaining risk is small. With the wait, a rebase only dies if another process holds the lock longer than the timeout. He also notes that since tb/rerere-lock-grace, a rebase's own commits no longer start auto maintenance.
Junio Hamano reviewed the timeout naming earlier. He pointed out that the "timeout" configuration variables in Documentation/ are measured in milliseconds, which justifies milliseconds here. He also noted that only credentialStore.lockTimeoutMS carries a unit in its name and suggested giving it a synonym without the suffix, marking this #leftoverbits. Phillip Wood also took part in the thread. The excerpts do not show whether v7 has had further review.