mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
Staging in the main view leaves you looking at the working tree's diff with everything you meant to stage in the index — and, until now, having to go back to the files panel to commit it. The commit keys, and the one that finds the commit a fixup belongs to, are offered there too, so that the whole staging-to-committing round happens in one place. They act on the working tree, which the main view only sometimes shows, so they do nothing over a commit's or a stash's diff — browsing history can't commit by accident — and are listed only where they do something. The check happens per press: what the main view is showing changes as the user moves about, while the bindings are registered once. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>