summaryrefslogtreecommitdiffstats
path: root/pkg/gui/pull_request_menu_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/pull_request_menu_panel.go')
-rw-r--r--pkg/gui/pull_request_menu_panel.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/gui/pull_request_menu_panel.go b/pkg/gui/pull_request_menu_panel.go
index bf262cf5c..efc72dc46 100644
--- a/pkg/gui/pull_request_menu_panel.go
+++ b/pkg/gui/pull_request_menu_panel.go
@@ -5,7 +5,6 @@ import (
"github.com/jesseduffield/lazygit/pkg/commands/hosting_service"
"github.com/jesseduffield/lazygit/pkg/commands/models"
- "github.com/jesseduffield/lazygit/pkg/commands/oscommands"
)
func (gui *Gui) createPullRequestMenu(selectedBranch *models.Branch, checkedOutBranch *models.Branch) error {
@@ -62,12 +61,12 @@ func (gui *Gui) createPullRequest(from string, to string) error {
return gui.surfaceError(err)
}
+ gui.logAction(gui.Tr.CreatePullRequest)
+
if err := gui.GitCommand.OSCommand.OpenLink(url); err != nil {
return gui.surfaceError(err)
}
- gui.OnRunCommand(oscommands.NewCmdLogEntry(fmt.Sprintf(gui.Tr.CreatingPullRequestAtUrl, url), gui.Tr.CreatePullRequest, false))
-
return nil
}