jesseduffield.lazygit/pkg/gui/controllers/helpers
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
..
amend_helper.go Improve prompts when amending commits 2023-09-01 18:55:16 +02:00
app_status_helper.go Make OnWorker callback return an error 2024-04-18 10:10:30 +02:00
bisect_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
branches_helper.go Add command "View divergence from base branch" 2024-06-03 14:02:07 +02:00
cherry_pick_helper.go rename sha to hash 3 2024-04-12 08:33:47 +02:00
commits_helper.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_helper_test.go Remove hard line breaks when rewording commits 2024-03-09 10:00:44 +01:00
confirmation_helper.go Stagger popup panels 2024-06-28 08:14:07 +02:00
confirmation_helper_test.go Underline links in confirmation panels 2024-03-29 10:55:33 +01:00
credentials_helper.go Handle pending actions properly in git commands that require credentials 2023-07-08 22:54:52 +10:00
diff_helper.go Make opening git difftool more consistent 2024-06-30 10:27:28 +02:00
files_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
fixup_helper.go Disregard master commits when finding base commit for fixup 2024-06-10 12:00:24 +02:00
fixup_helper_test.go Also return hunks with only added lines from parseDiff 2024-06-01 08:31:18 +02:00
gpg_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
helpers.go Add command to find base commit for creating a fixup 2024-01-10 09:11:40 +01:00
host_helper.go renaming variable to CommitHash 2024-04-12 08:33:47 +02:00
inline_status_helper.go Make OnWorker callback return an error 2024-04-18 10:10:30 +02:00
merge_and_rebase_helper.go feat: squash merge 2024-06-30 11:01:03 +10:00
merge_conflicts_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
mode_helper.go Return error from RefreshOptions.Then 2024-04-18 10:10:30 +02:00
patch_building_helper.go Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
record_directory_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
refresh_helper.go Use model searching in commits (and sub-commits) view 2024-06-23 11:43:12 +02:00
refs_helper.go Update tracking behaviour for branches created from remote branches 2024-07-04 22:34:36 +02:00
repos_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
search_helper.go Always reapply filters on filtered views, even inactive ones 2024-06-28 08:23:27 +02:00
snake_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
staging_helper.go Don't pass ignoreWhitespace to git commands 2023-09-04 17:50:49 +02:00
sub_commits_helper.go Factor out CommitLoader.mainBranches into its own class, and store it in Model 2024-06-03 13:02:46 +02:00
suggestions_helper.go Rename FuzzySearchFunc to FilterFunc 2024-03-17 11:56:29 +01:00
tags_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
update_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
upstream_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
upstream_helper_test.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
view_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
window_arrangement_helper.go Use utils.StringWidth to optimize rendering performance 2024-06-23 13:10:48 +02:00
window_arrangement_helper_test.go Add user config expandedSidePanelWeight 2024-06-01 08:21:23 +02:00
window_helper.go Fix main view refresh after adding the first file to a custom patch 2024-01-28 09:49:56 +01:00
working_tree_helper.go Add commitPrefix for defining a prefix for any project 2024-05-01 19:03:12 +02:00
worktree_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00