mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Previously we would render the diff for a directory to the main/secondary pair, but a diff for a file to the staging/stagingSecondary pair. (And similar for commit files: main/secondary for directories, but patchBuilding/patchBuildingSecondary for files.) I always found this confusing and couldn't really understand why we are doing this; but now it gets in my way because I want to attach a controller to main/secondary so that they can be focused. So change it to always use the main context pair for everything we render from a side panel. |
||
|---|---|---|
| .. | ||
| apply.go | ||
| apply_patch.go | ||
| create_branch.go | ||
| drop.go | ||
| drop_multiple.go | ||
| pop.go | ||
| prevent_discarding_file_changes.go | ||
| rename.go | ||
| stash.go | ||
| stash_all.go | ||
| stash_and_keep_index.go | ||
| stash_including_untracked_files.go | ||
| stash_staged.go | ||
| stash_staged_partial_file.go | ||
| stash_unstaged.go | ||