From a7bc1012b9ec97699fdee89586cd3f7445c3339b Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sat, 15 Nov 2025 14:46:19 +0100 Subject: [PATCH] Cleanup: fix incorrect comment The comment was apparently copy/pasted from above; the branch name cannot be blank in this case. --- pkg/gui/controllers/helpers/worktree_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/controllers/helpers/worktree_helper.go b/pkg/gui/controllers/helpers/worktree_helper.go index ea889781e..419dcbe64 100644 --- a/pkg/gui/controllers/helpers/worktree_helper.go +++ b/pkg/gui/controllers/helpers/worktree_helper.go @@ -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 {