mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
By constructing an arg vector manually, we no longer need to quote arguments Mandate that args must be passed when building a command Now you need to provide an args array when building a command. There are a handful of places where we need to deal with a string, such as with user-defined custom commands, and for those we now require that at the callsite they use str.ToArgv to do that. I don't want to provide a method out of the box for it because I want to discourage its use. For some reason we were invoking a command through a shell when amending a commit, and I don't believe we needed to do that as there was nothing user- supplied about the command. So I've switched to using a regular command out- side the shell there |
||
---|---|---|
.. | ||
helpers | ||
attach.go | ||
base_controller.go | ||
basic_commits_controller.go | ||
bisect_controller.go | ||
branches_controller.go | ||
command_log_controller.go | ||
commit_description_controller.go | ||
commit_message_controller.go | ||
commits_files_controller.go | ||
common.go | ||
confirmation_controller.go | ||
context_lines_controller.go | ||
custom_command_action.go | ||
custom_patch_options_menu_action.go | ||
diffing_menu_action.go | ||
files_controller.go | ||
files_remove_controller.go | ||
filtering_menu_action.go | ||
git_flow_controller.go | ||
global_controller.go | ||
jump_to_side_window_controller.go | ||
list_controller.go | ||
local_commits_controller.go | ||
menu_controller.go | ||
merge_conflicts_controller.go | ||
options_menu_action.go | ||
patch_building_controller.go | ||
patch_explorer_controller.go | ||
quit_actions.go | ||
reflog_commits_controller.go | ||
remote_branches_controller.go | ||
remotes_controller.go | ||
screen_mode_actions.go | ||
side_window_controller.go | ||
snake_controller.go | ||
staging_controller.go | ||
stash_controller.go | ||
status_controller.go | ||
sub_commits_controller.go | ||
submodules_controller.go | ||
suggestions_controller.go | ||
switch_to_diff_files_controller.go | ||
switch_to_sub_commits_controller.go | ||
sync_controller.go | ||
tags_controller.go | ||
toggle_whitespace_action.go | ||
types.go | ||
undo_controller.go | ||
vertical_scroll_controller.go | ||
workspace_reset_controller.go |