summaryrefslogtreecommitdiffstats
path: root/pkg/gui/rebase_options_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-29 14:33:38 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-04 09:07:15 +1100
commit43a4fa970dfceb7868959ff4da48d5507fa2f234 (patch)
treedaff776e59aebeb9b814a7918a9db75d4443175f /pkg/gui/rebase_options_panel.go
parent192a548c9957807d9d5c9c4700dffe02c1f55f03 (diff)
WIP
Diffstat (limited to 'pkg/gui/rebase_options_panel.go')
-rw-r--r--pkg/gui/rebase_options_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/rebase_options_panel.go b/pkg/gui/rebase_options_panel.go
index 90108258e..205b9df92 100644
--- a/pkg/gui/rebase_options_panel.go
+++ b/pkg/gui/rebase_options_panel.go
@@ -58,7 +58,7 @@ func (gui *Gui) genericMergeCommand(command string) error {
// it's impossible for a rebase to require a commit so we'll use a subprocess only if it's a merge
if status == commands.REBASE_MODE_MERGING && command != REBASE_OPTION_ABORT && gui.UserConfig.Git.Merging.ManualCommit {
- sub := gitCommand.NewCmdObj("git " + commandType + " --" + command)
+ sub := gitCommand.Cmd.New("git " + commandType + " --" + command)
if sub != nil {
return gui.runSubprocessWithSuspenseAndRefresh(sub)
}