jesseduffield.lazygit/pkg
Stefan Haller 2a2705dcc3 Always render diffs to the main/secondary context pair, even for files
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.
2025-04-21 18:03:18 +02:00
..
app Remove unused cherry-picking code in daemon 2025-04-20 15:59:48 +02:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Add a command to select all commits of the current branch 2025-04-10 09:02:09 +02:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Always render diffs to the main/secondary context pair, even for files 2025-04-21 18:03:18 +02:00
i18n Remove the "YOU ARE HERE" marker 2025-04-20 16:06:15 +02:00
integration Always render diffs to the main/secondary context pair, even for files 2025-04-21 18:03:18 +02:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Suppress error logs when killing process on Windows 2025-02-15 14:51:35 +11:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00