Re: [PATCH 4/5] status: show the ref that is checked out, even if it's detached
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 5, 2013, 12:18 UTC
- Message-ID
- <vpqd2ve9gzw.fsf@grenoble-inp.fr>
- In-Reply-To
- <20130305113958.GA26236@lanh>
Duy Nguyen <pclouds@gmail.com> 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/