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

Re: [PATCH 4/5] status: show the ref that is checked out, even if it's detached

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:56:18

Duy Nguyen [off-list ref] writes:
-	# Not currently on any branch.
+	# Detached at $ONTO
Without the context, I don't think "Detached" alone says something to
the user. "Detached HEAD at ..." would IMHO be clearer and at least give
the user enough keywords to search the web/doc for an explanation.

Actually, in the case of "Detached HEAD at $branch", you may even add an
advice saying something like:

  (run "git checkout $branch" to switch to branch $branch)

or so. But that's not the common case, so maybe it's not that useful.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help