jesseduffield.lazygit/pkg/integration/tests/commit
Stefan Haller e987d4b519 Swap position of checkout-commit and checkout-branch menu items
Jesse's comment from https://github.com/jesseduffield/lazygit/issues/4237:

We recently added a new option to check out a commit's branch from within the
commits, reflog, and sub-commits panels:

https://github.com/user-attachments/assets/0a5cf3f2-6803-4709-ae5a-e4addc061012

After using it for some time, I find it annoying that the default option has
changed. I rarely find myself wanting to check out a branch from the commits
panel, and it's rarer still to want to check out a branch from the reflog and
sub-commits panel. Although there may be use cases for this, it is jarring that
something you can always do (checkout the commit) is harder to do than something
that you can sometimes do (checkout the branch).

We've also had a user complain (see
https://github.com/jesseduffield/lazygit/pull/4117) about their muscle-memory
being broken by the recent change, and I have also fallen victim to this. I
don't think that the new branch checkout option is sufficiently useful to
dislodge the existing keybinding, so let's swap them.
2025-02-10 13:35:01 +01:00
..
add_co_author.go Extract functions AddCoAuthorToMessage and AddCoAuthorToDescription 2024-03-11 09:18:40 +01:00
add_co_author_range.go feat: support range selection for commit attributes amend 2024-06-07 23:09:52 +02:00
add_co_author_while_committing.go Add integration test 2024-03-11 09:19:11 +01:00
amend.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
amend_when_there_are_conflicts_and_amend.go Show confirmation menu when trying to amend changes while there are conflicts 2025-01-30 08:53:34 +01:00
amend_when_there_are_conflicts_and_cancel.go Show confirmation menu when trying to amend changes while there are conflicts 2025-01-30 08:53:34 +01:00
amend_when_there_are_conflicts_and_continue.go Show confirmation menu when trying to amend changes while there are conflicts 2025-01-30 08:53:34 +01:00
auto_wrap_message.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
checkout.go Swap position of checkout-commit and checkout-branch menu items 2025-02-10 13:35:01 +01:00
commit.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
commit_multiline.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
commit_switch_to_editor.go Add integration test 2023-08-21 10:03:34 +02:00
commit_wip_with_prefix.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
commit_with_global_prefix.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
commit_with_non_matching_branch_name.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
commit_with_prefix.go Don't preserve commit message when it's unchanged from initial message 2024-12-23 12:28:52 +01:00
copy_author_to_clipboard.go Fix copying commit author to clipboard 2024-09-23 09:47:14 +02:00
copy_tag_to_clipboard.go Integration tests for copy tags to clipboard 2025-01-28 00:34:57 +00:00
create_amend_commit.go Make it easy to create "amend!" commits 2024-03-22 08:27:45 +01:00
create_fixup_commit_in_branch_stack.go Create fixup commit at end of its branch when there's a stack of branches 2024-09-15 11:19:39 +02:00
create_tag.go Better tag creation UX 2023-07-22 14:36:35 +10:00
discard_old_file_changes.go Fix range select bug 2024-02-13 09:10:15 -06:00
find_base_commit_for_fixup.go Add command to find base commit for creating a fixup 2024-01-10 09:11:40 +01:00
find_base_commit_for_fixup_disregard_main_branch.go Disregard master commits when finding base commit for fixup 2024-06-10 12:00:24 +02:00
find_base_commit_for_fixup_only_added_lines.go Make "Find base commit for fixup" work with hunks with only added lines 2024-06-01 08:31:18 +02:00
find_base_commit_for_fixup_warning_for_added_lines.go Warn when there are hunks with only added lines 2024-01-10 09:11:40 +01:00
highlight.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
history.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
history_complex.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
new_branch.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
new_branch_with_prefix.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
paste_commit_message.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
paste_commit_message_over_existing.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
preserve_commit_message.go Improve and adapt commit persistence test-cases 2025-02-07 09:28:27 +01:00
reset_author.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
reset_author_range.go feat: support range selection for commit attributes amend 2024-06-07 23:09:52 +02:00
revert.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
revert_merge.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
reword.go Add busy count for integration tests 2023-07-08 22:54:52 +10:00
search.go Assert that the search status view is visible 2024-06-23 11:43:12 +02:00
set_author.go Keep track of authors across local commits and branch commits for suggestions 2023-07-22 10:47:04 +10:00
set_author_range.go feat: support range selection for commit attributes amend 2024-06-07 23:09:52 +02:00
shared.go Show confirmation menu when trying to amend changes while there are conflicts 2025-01-30 08:53:34 +01:00
stage_range_of_lines.go Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
staged.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staged_without_hooks.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
unstaged.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00