Thread (1 message) 1 message, 1 author, 2016-08-15

Re: [PATCH 2/2] checkout: do not mention detach advice for explicit --detach option

From: Junio C Hamano <hidden>
Date: 2016-08-15 22:38:16

Jeff King [off-list ref] writes:
quoted
 			   REF_NODEREF, UPDATE_REFS_DIE_ON_ERR);
 		if (!opts->quiet) {
 			if (old->path &&
-			    (advice_detached_head == 1 ||
-			     (advice_detached_head == -1 && !opts->force_detach)))
+			    advice_detached_head == 1 && !opts->force_detach)
Maybe s/== 1//?
Surely, and thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help