jesseduffield.lazygit/pkg/gui/controllers/helpers
Jesse Duffield 4c5b1574f1 Centralise logic for obtaining repo paths
There are quite a few paths you might want to get e.g. the repo's path, the worktree's path,
the repo's git dir path, the worktree's git dir path. I want these all obtained once and
then used when needed rather than having to have IO whenever we need them. This is not so
much about reducing time spent on IO as it is about not having to care about errors every time
we want a path.
2023-07-30 18:35:24 +10:00
..
amend_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
app_status_helper.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
bisect_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
cherry_pick_helper.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
commits_helper.go Better tag creation UX 2023-07-22 14:36:35 +10:00
confirmation_helper.go Fix crash on empty menu 2023-07-20 21:05:52 +10: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 Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
files_helper.go Support opening worktree in editor 2023-07-30 18:35:23 +10:00
gpg_helper.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
helpers.go Update status to differentiate the main vs linked worktrees 2023-07-30 18:35:21 +10:00
host_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
merge_and_rebase_helper.go Allow checking for merge conflicts after running a custom command 2023-07-13 18:40:34 +10:00
merge_conflicts_helper.go Fix race condition 2023-05-16 21:01:38 +10:00
mode_helper.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
patch_building_helper.go Disregard the "ignore whitespace" option in the patch building panel 2023-05-19 18:22:28 +02:00
record_directory_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
refresh_helper.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
refs_helper.go Replace uses of "git stash save" with "git stash push" 2023-07-10 15:09:17 +02:00
repos_helper.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
search_helper.go Add integration tests for searching/filtering 2023-07-03 12:54:14 +10:00
snake_helper.go split context common from helper common 2023-04-30 13:19:53 +10:00
staging_helper.go Refresh staging panel when committing 2023-04-30 13:19:54 +10:00
suggestions_helper.go Keep track of authors across local commits and branch commits for suggestions 2023-07-22 10:47:04 +10:00
tags_helper.go Better tag creation UX 2023-07-22 14:36:35 +10:00
update_helper.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
upstream_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
upstream_helper_test.go Add option to (un)set upstream for a local branch 2022-04-11 14:04:06 +02:00
view_helper.go standardise helper args 2023-04-30 13:19:53 +10:00
window_arrangement_helper.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
window_helper.go move side window actions to controllers package 2023-04-30 13:19:53 +10:00
working_tree_helper.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
worktree_helper.go Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +10:00