mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-23 22:24:51 +02:00
Cleanup: fix incorrect comment
The comment was apparently copy/pasted from above; the branch name cannot be blank in this case.
This commit is contained in:
@@ -135,7 +135,7 @@ func (self *WorktreeHelper) NewWorktreeCheckout(base string, canCheckoutBase boo
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// prompt for the new branch name where a blank means we just check out the branch
|
// prompt for the new branch name
|
||||||
self.c.Prompt(types.PromptOpts{
|
self.c.Prompt(types.PromptOpts{
|
||||||
Title: self.c.Tr.NewBranchName,
|
Title: self.c.Tr.NewBranchName,
|
||||||
HandleConfirm: func(branchName string) error {
|
HandleConfirm: func(branchName string) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user