jesseduffield.lazygit/pkg/gui/controllers/helpers
Stefan Haller 880528b2e4 Also return hunks with only added lines from parseDiff
We aren't using them, yet, except for deciding whether to show the warning about
hunks with only added lines.

Add a bit of test coverage for parseDiff while we're at it.
2024-06-01 08:31:18 +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 Remove calls to Error() 2024-04-18 10:10:30 +02:00
cherry_pick_helper.go rename sha to hash 3 2024-04-12 08:33:47 +02:00
commits_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
commits_helper_test.go Remove hard line breaks when rewording commits 2024-03-09 10:00:44 +01:00
confirmation_helper.go Fix calculation of tooltip height 2024-05-26 19:26:27 +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 Move IgnoreWhitespaceInDiffView to AppState, and persist it when it changes 2023-07-31 11:41:55 +02:00
files_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
fixup_helper.go Also return hunks with only added lines from parseDiff 2024-06-01 08:31:18 +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 Remove ErrorMsg 2024-04-18 10:10:30 +02: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 Remove ErrorMsg 2024-04-18 10:10:30 +02:00
record_directory_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
refresh_helper.go Refresh branches and reflog independently when sorting branches by date 2024-05-29 13:46:53 +02:00
refs_helper.go Remove calls to Error() 2024-04-18 10:10:30 +02:00
repos_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
search_helper.go Default to substring filtering, add option to go back to fuzzy filtering 2024-03-17 11:55:09 +01: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 Add author filtering to commit view 2024-02-21 09:58:09 +01: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 Add user config expandedSidePanelWeight 2024-06-01 08:21:23 +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