1
0
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:
Stefan Haller
2025-11-15 14:46:19 +01:00
parent 48330141bd
commit a7bc1012b9

View File

@@ -135,7 +135,7 @@ func (self *WorktreeHelper) NewWorktreeCheckout(base string, canCheckoutBase boo
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{
Title: self.c.Tr.NewBranchName,
HandleConfirm: func(branchName string) error {