jesseduffield.lazygit/pkg/integration/tests
Stefan Haller a415d1b529 Fix the main view display after reverting a commit
We move the selection down by the number of commits that were reverted (to keep
the same commits selected). However, this only happens after refreshing, which
has rendered the main view with the wrong commit, so we need to render it again
after moving the selection.

There are many other callers of MoveSelection in LocalCommitsController, but all
of them happen before the refresh. Revert is special because it needs to move
the selection after refreshing, e.g. when reverting the only commit of a branch.
2025-12-23 14:55:58 +01:00
..
bisect Un-deprecate UserConfig.Git.Log.Order and ShowGraph 2025-07-09 13:15:03 +02:00
branch Fix deleting a remote branch when a remote tag with the same name exists 2025-11-27 19:51:24 +01:00
cherry_pick Add tests 2025-10-14 12:27:32 +02:00
commit Fix the main view display after reverting a commit 2025-12-23 14:55:58 +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 feat: support custom keybinds in custom command prompt menus 2025-12-22 13:43:52 +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 Fix deleting a remote tag when a remote branch with the same name exists 2025-11-27 19:52:18 +01: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: support custom keybinds in custom command prompt menus 2025-12-22 13:43:52 +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