jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 2c9b4770bc Keep same branch selected when refreshing branches
This wasn't necessary before, because the only available branch sorting option
was by recency, so the sort order couldn't change except by checking out
branches. Now, you can sort by committer date, so the branch order can change by
fetching; in this case it's important to keep the same branch selected. One
important use case is to rebase the checked-out branch onto master; you select
master, press "f" to fetch it (this can now change its position in the list),
and then press "r" to rebase. To make this work smoothly it's important to keep
master selected after pressing "f".
2024-01-19 09:25:07 +01:00
..
bisect Make bisect/basic.go test more concrete 2023-07-31 08:34:01 +02:00
branch Use ErrorToast instead of error panel when invoking a disabled command 2024-01-14 17:45:35 +01:00
cherry_pick Support select range for cherry pick 2024-01-19 10:50:49 +11:00
commit Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
config Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
conflicts Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
custom_commands Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01:00
demo Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
diff Add busy count for integration tests 2023-07-08 22:54:52 +10:00
file Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
filter_and_search When refreshing models, re-apply active filter for the corresponding view 2023-10-10 08:37:30 +02:00
filter_by_path Pass -f as single arg in integration test 2024-01-12 20:19:50 +11:00
interactive_rebase Allow showing Disabled errors as error panel instead of toast 2024-01-14 17:45:35 +01:00
misc Make it mandatory to acknowledge toasts in tests 2024-01-14 17:42:03 +01:00
patch_building Clear range select upon pressing 'escape' 2024-01-19 10:47:21 +11:00
reflog Don't show branch heads in reflog subcommits 2023-07-31 08:34:01 +02:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staging Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
stash feat: add age on stash lines 2023-12-27 11:21:49 +01:00
submodule Use sentence case everywhere 2023-05-25 23:52:19 +10:00
sync Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01:00
tag Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
ui Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
undo Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktree Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00
test_list.go Add test showing how branch should stay selected after fetching (but doesn't yet) 2024-01-19 09:23:55 +01:00
test_list_generator.go Make test_list_generator.go print what it's doing 2023-09-29 20:40:15 +02:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00