mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
The focused main view of a directory node shows a multi-file diff, so a range selected in it can span more than one file. Group the selected change lines by file and apply one patch per file, logging the action and refreshing once around the whole batch. The stage/unstage direction is uniform — the whole diff is rendered on one side — so it's decided once for the batch. Each change line is mapped back to its file by the path its diff-line metadata carries, which also lets a single-file selection go through the same path instead of relying on the selected node being the file; staging from the focused main view no longer bails on a directory selection. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||