Re: [PATCH v7 0/3] worktree add: improve message for ambiguous remote branch name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 22, 2026, 18:08 UTC
- Message-ID
- <xmqqv792uixb.fsf@gitster.g>
- In-Reply-To
- <pull.2197.v7.git.1787368962.gitgitgadget@gmail.com>
"Yoichi NAKAYAMA via GitGitGadget" <gitgitgadget@gmail.com> writes:
> * fix grammatical errors in hints > * narrow the scope of local variable oid
Both changes look sensible. I very much like the new advise() message that is much more concise.
> -+ advise(_("Branches with the same name appears in multiple remotes:"));
> ++ advise(_("Branch name '%s' appears in multiple remotes:"), branch);
> -+ advise(_("Branches with the same name appears in multiple remotes:"));
> ++ advise(_("Branch name '%s' appears in multiple remotes:"), branch);Will queue.