mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03:00
The git command runner runs a command again if it failed because another git process held a lock. This is wrong for a command that starts an operation of several steps, such as a rebase or a cherry-pick of several commits, if the lock stopped it partway through. Running it again then fails because the operation is already in progress. Add a hook that such a command can use to tell the runner what to do instead. The following commits use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>