summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.codespellrc7
-rw-r--r--.github/pull_request_template.md1
-rw-r--r--.github/workflows/ci.yml23
-rw-r--r--.github/workflows/codespell.yml25
-rw-r--r--.gitignore1
-rw-r--r--.golangci.yml3
-rw-r--r--README.md2
-rw-r--r--docs/Config.md8
-rw-r--r--docs/Custom_Command_Keybindings.md12
-rw-r--r--docs/Custom_Pagers.md2
-rw-r--r--docs/dev/Codebase_Guide.md10
-rw-r--r--docs/dev/Find_Base_Commit_For_Fixup_Design.md2
-rw-r--r--docs/keybindings/Keybindings_en.md4
-rw-r--r--docs/keybindings/Keybindings_ja.md4
-rw-r--r--docs/keybindings/Keybindings_ko.md4
-rw-r--r--docs/keybindings/Keybindings_nl.md4
-rw-r--r--docs/keybindings/Keybindings_pl.md4
-rw-r--r--docs/keybindings/Keybindings_ru.md4
-rw-r--r--docs/keybindings/Keybindings_zh-CN.md4
-rw-r--r--docs/keybindings/Keybindings_zh-TW.md4
-rw-r--r--go.mod12
-rw-r--r--go.sum23
-rw-r--r--pkg/app/app.go32
-rw-r--r--pkg/app/entry_point.go6
-rw-r--r--pkg/cheatsheet/generate.go5
-rw-r--r--pkg/commands/git_cmd_obj_builder.go4
-rw-r--r--pkg/commands/git_commands/branch.go8
-rw-r--r--pkg/commands/git_commands/branch_loader.go2
-rw-r--r--pkg/commands/git_commands/commit.go13
-rw-r--r--pkg/commands/git_commands/commit_loader_test.go4
-rw-r--r--pkg/commands/git_commands/commit_test.go90
-rw-r--r--pkg/commands/git_commands/config.go6
-rw-r--r--pkg/commands/git_commands/deps_test.go6
-rw-r--r--pkg/commands/git_commands/diff.go4
-rw-r--r--pkg/commands/git_commands/file.go18
-rw-r--r--pkg/commands/git_commands/file_loader.go10
-rw-r--r--pkg/commands/git_commands/file_loader_test.go28
-rw-r--r--pkg/commands/git_commands/main_branches.go35
-rw-r--r--pkg/commands/git_commands/rebase.go7
-rw-r--r--pkg/commands/git_commands/repo_paths.go15
-rw-r--r--pkg/commands/git_commands/repo_paths_test.go84
-rw-r--r--pkg/commands/git_commands/stash.go3
-rw-r--r--pkg/commands/git_commands/stash_test.go53
-rw-r--r--pkg/commands/git_commands/sync.go8
-rw-r--r--pkg/commands/git_commands/sync_test.go4
-rw-r--r--pkg/commands/git_commands/working_tree.go13
-rw-r--r--pkg/commands/git_commands/working_tree_test.go97
-rw-r--r--pkg/commands/git_config/cached_git_config.go8
-rw-r--r--pkg/commands/models/branch.go4
-rw-r--r--pkg/commands/models/commit.go4
-rw-r--r--pkg/commands/models/remote_branch.go4
-rw-r--r--pkg/commands/models/stash_entry.go4
-rw-r--r--pkg/commands/models/tag.go4
-rw-r--r--pkg/commands/oscommands/cmd_obj_builder.go25
-rw-r--r--pkg/commands/oscommands/cmd_obj_runner.go2
-rw-r--r--pkg/commands/oscommands/dummies.go12
-rw-r--r--pkg/commands/oscommands/os.go28
-rw-r--r--pkg/commands/oscommands/os_default_platform.go21
-rw-r--r--pkg/commands/oscommands/os_default_test.go4
-rw-r--r--pkg/commands/oscommands/os_windows.go8
-rw-r--r--pkg/commands/oscommands/os_windows_test.go2
-rw-r--r--pkg/common/common.go12
-rw-r--r--pkg/config/app_config.go242
-rw-r--r--pkg/config/dummies.go12
-rw-r--r--pkg/config/user_config.go272
-rw-r--r--pkg/gui/background.go4
-rw-r--r--pkg/gui/command_log_panel.go6
-rw-r--r--pkg/gui/context.go58
-rw-r--r--pkg/gui/context/base_context.go4
-rw-r--r--pkg/gui/context/branches_context.go2
-rw-r--r--pkg/gui/context/commit_files_context.go25
-rw-r--r--pkg/gui/context/commit_message_context.go12
-rw-r--r--pkg/gui/context/list_context_trait.go8
-rw-r--r--pkg/gui/context/local_commits_context.go32
-rw-r--r--pkg/gui/context/menu_context.go4
-rw-r--r--pkg/gui/context/parent_context_mgr.go7
-rw-r--r--pkg/gui/context/patch_explorer_context.go2
-rw-r--r--pkg/gui/context/reflog_commits_context.go11
-rw-r--r--pkg/gui/context/remotes_context.go2
-rw-r--r--pkg/gui/context/search_trait.go2
-rw-r--r--pkg/gui/context/stash_context.go5
-rw-r--r--pkg/gui/context/sub_commits_context.go23
-rw-r--r--pkg/gui/context/tags_context.go2
-rw-r--r--pkg/gui/context/working_tree_context.go4
-rw-r--r--pkg/gui/controllers.go7
-rw-r--r--pkg/gui/controllers/basic_commits_controller.go4
-rw-r--r--pkg/gui/controllers/branches_controller.go2
-rw-r--r--pkg/gui/controllers/commit_description_controller.go24
-rw-r--r--pkg/gui/controllers/commit_message_controller.go26
-rw-r--r--pkg/gui/controllers/commits_files_controller.go34
-rw-r--r--pkg/gui/controllers/confirmation_controller.go4
-rw-r--r--pkg/gui/controllers/context_lines_controller.go4
-rw-r--r--pkg/gui/controllers/custom_patch_options_menu_action.go6
-rw-r--r--pkg/gui/controllers/files_controller.go24
-rw-r--r--pkg/gui/controllers/filtering_menu_action.go4
-rw-r--r--pkg/gui/controllers/global_controller.go12
-rw-r--r--pkg/gui/controllers/helpers/app_status_helper.go8
-rw-r--r--pkg/gui/controllers/helpers/commits_helper.go4
-rw-r--r--pkg/gui/controllers/helpers/confirmation_helper.go37
-rw-r--r--pkg/gui/controllers/helpers/confirmation_helper_test.go12
-rw-r--r--pkg/gui/controllers/helpers/diff_helper.go44
-rw-r--r--pkg/gui/controllers/helpers/fixup_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/gpg_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/host_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/inline_status_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/merge_and_rebase_helper.go8
-rw-r--r--pkg/gui/controllers/helpers/merge_conflicts_helper.go8
-rw-r--r--pkg/gui/controllers/helpers/patch_building_helper.go11
-rw-r--r--pkg/gui/controllers/helpers/refresh_helper.go38
-rw-r--r--pkg/gui/controllers/helpers/refs_helper.go80
-rw-r--r--pkg/gui/controllers/helpers/search_helper.go20
-rw-r--r--pkg/gui/controllers/helpers/staging_helper.go10
-rw-r--r--pkg/gui/controllers/helpers/sub_commits_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/suggestions_helper.go14
-rw-r--r--pkg/gui/controllers/helpers/tags_helper.go4
-rw-r--r--pkg/gui/controllers/helpers/update_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/window_arrangement_helper.go6
-rw-r--r--pkg/gui/controllers/helpers/window_helper.go2
-rw-r--r--pkg/gui/controllers/helpers/working_tree_helper.go16
-rw-r--r--pkg/gui/controllers/jump_to_side_window_controller.go11
-rw-r--r--pkg/gui/controllers/list_controller.go12
-rw-r--r--pkg/gui/controllers/local_commits_controller.go43
-rw-r--r--pkg/gui/controllers/menu_controller.go2
-rw-r--r--pkg/gui/controllers/merge_conflicts_controller.go6
-rw-r--r--pkg/gui/controllers/options_menu_action.go2
-rw-r--r--pkg/gui/controllers/patch_explorer_controller.go10
-rw-r--r--pkg/gui/controllers/quit_actions.go12
-rw-r--r--