Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jul 30, 2023
1 parent db02c13 commit 796945a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pkg/gui/controllers/worktrees_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,6 @@ func (self *WorktreesController) GetOnRenderToMain() func() error {
}
}

//func (self *WorktreesController) switchToWorktree(worktree *models.Worktree) error {
// //self.c.LogAction(self.c.Tr.Actions.CheckoutTag)
// //if err := self.helpers.Refs.CheckoutRef(tag.Name, types.CheckoutRefOptions{}); err != nil {
// // return err
// //}
// //return self.c.PushContext(self.contexts.Branches)
//
// wd, err := os.Getwd()
// if err != nil {
// return err
// }
// gui.RepoPathStack.Push(wd)
//
// return gui.dispatchSwitchToRepo(submodule.Path, true)
//}

func (self *WorktreesController) create() error {
return self.c.Helpers().Worktree.NewWorktree()
}
Expand Down

0 comments on commit 796945a

Please sign in to comment.