jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 30f43a245b Fix loading customCommands from per-repo config file
Any newly loaded custom command coming from the per-repo config file should add
to the global ones (or override an existing one in the global one), rather than
replace all global ones.

We can achieve this by simply prepending the newly loaded commands to the
existing ones. We don't have to take care of removing duplicate key assignments;
it is already possible to add two custom commands with the same key to the
global config file, the first one wins.
2024-08-24 11:01:25 +02:00
..
bisect Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
branch Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
cherry_pick Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
commit Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
config Fix loading customCommands from per-repo config file 2024-08-24 11:01:25 +02:00
conflicts Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
custom_commands Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
demo Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
diff Support setting the similarity threshold for detecting renames 2024-07-13 14:24:26 +10:00
file Don't stage already staged deleted items 2024-08-24 09:36:44 +10:00
filter_and_search Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
filter_by_author Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
filter_by_path Keep the same commit selected when exiting filtering mode 2024-03-28 12:23:46 +01:00
interactive_rebase Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
misc Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
patch_building Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
reflog Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
shell_commands Rename "Custom Command" to "Shell Command" 2024-08-17 10:56:03 +02:00
staging Assert that the search status view is visible 2024-06-23 11:43:12 +02:00
stash Fix stashing partialy staged files for git version >= 2.35.0 2024-05-18 09:59:00 +02:00
status Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
submodule Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
sync Remove ColoredBranchStatus and branchStatusColor 2024-06-03 13:02:46 +02:00
tag Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
ui Allow using </> and ,/. in sticky range select mode in patch explorer 2024-08-24 10:56:20 +02:00
undo Support range select in rebase actions 2024-01-23 17:23:56 +11:00
worktree Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
test_list.go Add a test that shows how per-repo config file replaces customCommands 2024-08-24 11:01:25 +02:00
test_list_generator.go Make test_list_generator.go print what it's doing 2023-09-29 20:40:15 +02:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00