jesseduffield.lazygit/pkg/gui/controllers
T. b26ff43d9e Update tracking behaviour for branches created from remote branches
The current behaviour when creating a new branch off of a remote branch
is to always track the branch it was created from.

For example, if a branch 'my_branch' is created off of the remote branch
'fix_crash_13', then 'my_branch' will be tracking the remote
'fix_crash_13' branch.

It is common practice to have both the local and remote branches named
the same when the local is tracking the remote one. Therefore, it is
reasonable to expect that 'my_branch' should not track the remote
'fix_crash_13' branch.

The new behaviour when creating a new branch off of a remote branch is
to track the branch it was created from only if the branch names match.
If the branch names DO NOT match then the newly created branch will not
track the remote branch it was created from.

For example, if a user creates a new branch 'fix_crash_13' off of the
remote branch 'fix_crash_13', then the local 'fix_crash_13' branch will
track the remote 'fix_crash_13' branch.
However, if the user creates a new branch called 'other_branch_name' off
of the remote branch 'fix_crash_13', then the local 'other_branch_name'
branch will NOT track the remote 'fix_crash_13' branch.
2024-07-04 22:34:36 +02:00
..
helpers Update tracking behaviour for branches created from remote branches 2024-07-04 22:34:36 +02:00
attach.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
base_controller.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
basic_commits_controller.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
bisect_controller.go Return error from RefreshOptions.Then 2024-04-18 10:10:30 +02:00
branches_controller.go Make opening git difftool more consistent 2024-06-30 10:27:28 +02:00
command_log_controller.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
commit_description_controller.go Have only one of commit message and description on the context stack at a time 2024-06-27 10:14:00 +02:00
commit_message_controller.go Have only one of commit message and description on the context stack at a time 2024-06-27 10:14:00 +02:00
commits_files_controller.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
common.go lots of changes 2023-04-30 13:19:53 +10:00
confirmation_controller.go Show delete/edit keybindings in suggestions subtitle if available 2024-05-19 07:06:18 +02:00
context_lines_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
custom_command_action.go Allow editing a custom command from the suggestions list by pressing 'e' 2024-05-19 07:06:18 +02:00
custom_patch_options_menu_action.go Have only one of commit message and description on the context stack at a time 2024-06-27 10:14:00 +02:00
diffing_menu_action.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
files_controller.go Always show the "Discard unchanged changes" menu item 2024-06-23 12:43:34 +02:00
filter_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
filtering_menu_action.go Return error from RefreshOptions.Then 2024-04-18 10:10:30 +02:00
git_flow_controller.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
global_controller.go Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
jump_to_side_window_controller.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
list_controller.go Render the view when scrolling with the wheel 2024-06-23 11:54:21 +02:00
list_controller_trait.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
local_commits_controller.go Show radio buttons in the show log graph and commit sort order menus 2024-06-23 12:53:15 +02:00
local_commits_controller_test.go Keep the same line selected after squashing fixup commits 2024-03-09 07:55:22 +01:00
menu_controller.go Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
merge_conflicts_controller.go Display more keybindings on-screen 2024-01-28 08:33:13 +11:00
options_menu_action.go Do not include keybindings from another view in keybindings menu 2024-01-15 20:08:11 +11:00
patch_building_controller.go Display more keybindings on-screen 2024-01-28 08:33:13 +11:00
patch_explorer_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
quit_actions.go Clear range select upon pressing 'escape' 2024-01-19 10:47:21 +11:00
reflog_commits_controller.go rename sha to hash 2024-04-12 08:33:47 +02:00
remote_branches_controller.go Make opening git difftool more consistent 2024-06-30 10:27:28 +02:00
remotes_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
screen_mode_actions.go Rerender fewer views when their width changes 2024-06-23 13:10:48 +02:00
scroll_off_margin.go Replace min/max helpers with built-in min/max 2024-04-07 23:24:10 +08:00
scroll_off_margin_test.go Add tests for scroll-off margin of zero 2023-08-21 08:10:28 +02:00
search_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
search_prompt_controller.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
side_window_controller.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
snake_controller.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
staging_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
stash_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
status_controller.go Remove ColoredBranchStatus and branchStatusColor 2024-06-03 13:02:46 +02:00
sub_commits_controller.go Make OnWorker callback return an error 2024-04-18 10:10:30 +02:00
submodules_controller.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
suggestions_controller.go Turn off the highlight of the suggestions panel when it loses focus 2024-06-29 11:24:08 +02:00
switch_to_diff_files_controller.go Avoid crash when hitting enter on an update-ref todo 2024-02-16 13:06:24 +01:00
switch_to_sub_commits_controller.go Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
sync_controller.go Use --force instead of --force-with-lease when remote is not stored locally 2024-06-01 08:12:45 +02:00
tags_controller.go Make opening git difftool more consistent 2024-06-30 10:27:28 +02:00
toggle_whitespace_action.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go chore: fix some comments and typos 2024-04-28 09:44:59 +02:00
vertical_scroll_controller.go lots of changes 2023-04-30 13:19:53 +10:00
workspace_reset_controller.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
worktree_options_controller.go Set groundwork for better disabled reasons with range select 2024-01-23 13:03:37 +11:00
worktrees_controller.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00