diff options
Diffstat (limited to 'pkg/gui/controllers/tags_controller.go')
-rw-r--r-- | pkg/gui/controllers/tags_controller.go | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pkg/gui/controllers/tags_controller.go b/pkg/gui/controllers/tags_controller.go index 18135db02..e819c1973 100644 --- a/pkg/gui/controllers/tags_controller.go +++ b/pkg/gui/controllers/tags_controller.go @@ -78,11 +78,6 @@ func (self *TagsController) GetKeybindings(opts types.KeybindingsOpts) []*types. Description: self.c.Tr.LcViewResetOptions, OpensMenu: true, }, - { - Key: opts.GetKey(opts.Config.Universal.GoInto), - Handler: self.withSelectedTag(self.enter), - Description: self.c.Tr.LcViewCommits, - }, } return bindings @@ -96,10 +91,6 @@ func (self *TagsController) checkout(tag *models.Tag) error { return self.c.PushContext(self.contexts.Branches) } -func (self *TagsController) enter(tag *models.Tag) error { - return self.switchToSubCommitsContext(tag.Name) -} - func (self *TagsController) delete(tag *models.Tag) error { prompt := utils.ResolvePlaceholderString( self.c.Tr.DeleteTagPrompt, @@ -153,7 +144,7 @@ func (self *TagsController) createResetMenu(tag *models.Tag) error { func (self *TagsController) create() error { // leaving commit SHA blank so that we're just creating the tag for the current commit - return self.tagsHelper.CreateTagMenu("", func() { self.context.GetPanelState().SetSelectedLineIdx(0) }) + return self.tagsHelper.CreateTagMenu("", func() { self.context.SetSelectedLineIdx(0) }) } func (self *TagsController) withSelectedTag(f func(tag *models.Tag) error) func() error { |