Re: [PATCH] tone down the detached head warning

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicolas Pitre <nico@...>
Cc: <cworth@...>, Junio C Hamano <junkio@...>, <git@...>
Date: Wednesday, January 31, 2007 - 11:00 pm

On Wed, Jan 31, 2007 at 07:11:34PM -0500, Nicolas Pitre wrote:


Sure, but that is a very subtle distinction that I doubt will make sense
to git newbies. Having them check out what they consider to be a branch
(and which is, in fact, a line of development -- just not one that you
have locally marked as a head) and responding with "you are not on ANY
branch" is a little off-putting.

Is there some text we can use that makes more sense in all situations?

I think part of the "scariness" of the message is that git-checkout does
not _usually_ produce output. I wonder if, when switching HEAD, it
usually printed "Now on branch <foo>", and for detached printed some
special variant, it would seem more natural.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] tone down the detached head warning, Nicolas Pitre, (Wed Jan 31, 3:10 pm)
Re: [PATCH] tone down the detached head warning, Jeff King, (Wed Jan 31, 7:19 pm)
Re: [PATCH] tone down the detached head warning, Nicolas Pitre, (Wed Jan 31, 8:11 pm)
Re: [PATCH] tone down the detached head warning, Jeff King, (Wed Jan 31, 11:00 pm)
Re: [PATCH] tone down the detached head warning, Carl Worth, (Wed Jan 31, 7:54 pm)