Aw: Re: [PATCH 02/13] Use current "detached HEAD" message
- From
Thomas Ackermann <th.acker@arcor.de>
- Date
- Aug 25, 2013, 08:10 UTC
- Message-ID
- <1764880917.480568.1377418240632.JavaMail.ngmail@webmail16.arcor-online.net>
- In-Reply-To
- <20130825034916.GB2882@elie.Belkin>
Show 10 quoted lines
> > I wonder if this longer wall of text (added in 13be3e31, 2010-01-29) > is too aggressive. > > It is the only piece of advice that I explicitly disable in > ~/.gitconfig, so I haven't looked at it again for a while. Since > then, the usual stream of questions about how to recover from people > who accidentally detached HEAD has still been showing up in #git, so I > don't think the message succeeded in its purpose. >
I like the message :-) But of course without really knowing how a "detached HEAD" looks like in the object store, people might feel unsure about what to do next.
Show 9 quoted lines
>
> grep "no branch" Documentation/user-manual.txt
>
> finds two other instances of that message, which this branch doesn't
> touch. One is about a bisection, where (no branch) is pretty close
> to the actual message ('(no branch, bisect started on master)').
> The other is about submodules. Here's a patch for potential squashing
> in that corrects it.
> Thanks for spotting this!
--- Thomas