jesseduffield.lazygit/pkg/gui/controllers/helpers
Stefan Haller 442592a149 Show diff for range selection in commits and sub-commits panel
In other views that show lists of commits (reflog and stash) it doesn't make
sense to show a range diff of selected entries because they don't form a linear
sequence, so we keep the previous behavior of showing the diff for the free end
of the selection range in those view.

The same applies to the commits view if the selection range includes rebasing
todos; these can have an arbitrary order, and a range diff doesn't make sense
for those.
2024-08-28 19:35:23 +02:00
..
amend_helper.go Improve prompts when amending commits 2023-09-01 18:55:16 +02:00
app_status_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +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 Replace PopContext() with Context().Pop() 2024-08-17 11:14:50 +02:00
commits_helper_test.go Remove hard line breaks when rewording commits 2024-03-09 10:00:44 +01:00
confirmation_helper.go [DATALAD RUNCMD] run codespell throughout fixing typos automagically 2024-08-27 18:03:00 +02:00
confirmation_helper_test.go [DATALAD RUNCMD] Do interactive fixing of some ambigous typos 2024-08-27 18:03:00 +02:00
credentials_helper.go Add Token credential request handling 2024-07-06 21:44:10 +10:00
diff_helper.go Show diff for range selection in commits and sub-commits panel 2024-08-28 19:35:23 +02:00
files_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
fixup_helper.go Replace PushContext() with Context().Push() 2024-08-17 11:14:50 +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 Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +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 Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
inline_status_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
merge_and_rebase_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
merge_conflicts_helper.go Replace IsCurrentContext() with Context().IsCurrent() 2024-08-17 11:14:51 +02:00
mode_helper.go Return error from RefreshOptions.Then 2024-04-18 10:10:30 +02:00
patch_building_helper.go Replace CurrentStaticContext() with Context().CurrentStatic() 2024-08-17 11:14:51 +02:00
record_directory_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
refresh_helper.go Bugfix: properly set title of subcommits panel when refreshing 2024-08-28 18:27:52 +02:00
refs_helper.go Fix cancelled autostash resulting in stuck inline status 2024-08-27 10:28:22 +02:00
repos_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
search_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
snake_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
staging_helper.go Replace CurrentStaticContext() with Context().CurrentStatic() 2024-08-17 11:14:51 +02:00
sub_commits_helper.go Replace PushContext() with Context().Push() 2024-08-17 11:14:50 +02:00
suggestions_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
tags_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
update_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +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 Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
window_arrangement_helper_test.go Add user config expandedSidePanelWeight 2024-06-01 08:21:23 +02:00
window_helper.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
working_tree_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
worktree_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00