On Fri, 29 Jan 2010, Junio C Hamano wrote: > Any comment on my previous rewording patch ($gmane/138369)? A bit too verbose (even if it can be configured out) and frightening I'd say. > "Note: '%s' isn't a local branch head: creating a detached HEAD\n" > "If you want to create a new branch from this checkout, you may do so\n" > "(now or later) by using -b with the checkout command again. Example:\n" > " git checkout -b <new_branch_name>\n", new->name); > > A major difference I think is that I avoided a jargon (detached HEAD), and > chose not to say why the input was interpreted as a request to switch to > that state. To the contrary, I think it is about time we use proper Git jargon. Otherwise how can we expect people to relate to the documentation where that jargon is indeed used? Even on this very mailing list we refer to that state as a "detached HEAD". And Google gives precisely the right info with "detached HEAD" while any other verbiage might not. And just saying that "you're not on any branch anymore" is still leaving the user wondering why. At least with the "isn't a local branch head" the user has 2 clues: it has to be a _local_ branch and a branch _head_ not to create a detached HEAD. So I still prefer the above rewording. > Oh, of course, I also added advice.detachedHEAD to squelch it ;-) That is indeed an excellent idea. Nicolas -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html