jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 221e025ee6 Switch to branches view when checking out a commit
We move the code to push the branches context into CheckoutRef, this way it
works consistently no matter where we call it from. Previously, checking out
remote branches or tags would switch to the branches view, but checking out a
commit did not.

Note that it now also takes effect for undoing or redoing a checkout, which may
be a bit questionable; but I still think it makes sense for this, too.
2025-11-16 21:23:40 +01:00
..
bisect Un-deprecate UserConfig.Git.Log.Order and ShowGraph 2025-07-09 13:15:03 +02:00
branch Add no-ff merge option 2025-10-19 21:24:28 +02:00
cherry_pick Add tests 2025-10-14 12:27:32 +02:00
commit Switch to branches view when checking out a commit 2025-11-16 21:23:40 +01:00
config Remove obsolete git version restrictions 2025-07-09 12:18:57 +02:00
conflicts Add merge options menu 2025-10-09 08:45:58 +02:00
custom_commands Add SelectedSubmodule to SessionState 2025-11-12 08:54:34 +01:00
demo Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
diff Allow changing diff context size and rename threshold when main view is focused 2025-04-23 08:38:46 +02:00
file Add user config gui.addRootItemInFileTree 2025-05-24 18:17:25 +02:00
filter_and_search Allow filtering for keybindings by prepending filter string with '@' 2025-08-14 15:02:48 +02:00
filter_by_author Un-deprecate UserConfig.Git.Log.Order and ShowGraph 2025-07-09 13:15:03 +02:00
filter_by_path When entering a commit in path filtering mode, select the filtered path 2025-10-09 09:58:15 +02:00
interactive_rebase Un-deprecate UserConfig.Git.Log.Order and ShowGraph 2025-07-09 13:15:03 +02:00
misc Add "CopyToClipboard" command to ConfirmationController 2025-08-15 17:17:06 +02:00
patch_building Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
reflog Un-deprecate UserConfig.Git.Log.Order and ShowGraph 2025-07-09 13:15:03 +02:00
remote feat: add fork remote command 2025-11-16 17:26:00 +01:00
shared Add merge options menu 2025-10-09 08:45:58 +02:00
shell_commands Rename "Custom Command" to "Shell Command" 2024-08-17 10:56:03 +02:00
staging Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
stash Fix dropping a range of stashes in filtered mode 2025-08-25 18:41:06 +02:00
status Draw divergence from base branch right-aligned in branches view 2025-07-30 14:23:31 +02:00
submodule Fix view selection running out of sync with list selection when view isn't focused 2025-04-20 16:06:15 +02:00
sync Don't auto-forward branches that are checked out by another worktree 2025-08-20 10:43:19 +02:00
tag Add tests for tag information rendering 2025-07-28 10:53:51 +02:00
ui Add no-ff merge option 2025-10-19 21:24:28 +02:00
undo Switch to branches view when checking out a commit 2025-11-16 21:23:40 +01:00
worktree Offer to force-delete a worktree if it contains submodules 2025-10-14 12:19:49 +02:00
test_list.go feat: add fork remote command 2025-11-16 17:26:00 +01:00
test_list_generator.go Fix typos 2025-01-03 10:50:36 +11:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00