Thread (1 message) 1 message, 1 author, 2018-02-05

Re: [PATCH v2 3/3] worktree: teach "add" to check out existing branches

From: Junio C Hamano <hidden>
Date: 2018-02-05 20:20:32

Duy Nguyen [off-list ref] writes:
On Sun, Feb 04, 2018 at 10:13:05PM +0000, Thomas Gummerer wrote:
quoted
-	if (opts->new_branch)
+	if (opts->checkout_existing_branch)
+		fprintf(stderr, _(", checking out existing branch '%s'"),
+			refname);
+	else if (opts->new_branch)
 		fprintf(stderr, _(", creating new branch '%s'"), opts->new_branch);
I wonder if "creating branch" and "checkout out branch" are enough.
Yeah, I think new/existing are redundant.  If these were shown at
the same time, then the extra adjectives would help differenciating
them visually, but they are never shown at the same time, so...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help