lazygit/pkg/integration/tests/stash
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
..
apply.go Switch to Files panel after popping a stash 2024-09-06 13:15:37 +02:00
apply_patch.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
create_branch.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
drop.go feat: Implement range stash drop 2025-04-02 17:34:35 +08:00
drop_multiple.go feat: Implement range stash drop 2025-04-02 17:34:35 +08:00
pop.go Switch to Files panel after popping a stash 2024-09-06 13:15:37 +02:00
prevent_discarding_file_changes.go Allow discarding changes only from local commits 2023-06-07 12:48:56 +02:00
rename.go Fix incorrect stash diff after rename 2025-02-06 09:55:26 +01:00
stash.go feat: add age on stash lines 2023-12-27 11:21:49 +01:00
stash_all.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
stash_and_keep_index.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stash_including_untracked_files.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stash_staged.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stash_staged_partial_file.go Always render diffs to the main/secondary context pair, even for files 2025-04-21 18:03:18 +02:00
stash_unstaged.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00