reword the detached head message a little again
authorNicolas Pitre <nico@cam.org>
Thu, 1 Feb 2007 17:30:28 +0000 (12:30 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 2 Feb 2007 05:34:54 +0000 (21:34 -0800)
Seems clearer this way, to me at least.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh

index deb479524ae5b57d8a446536af5b3201e69b4361..97c26adba9e876c40de487a23ae96c51dd0a7bc8 100755 (executable)
@@ -155,7 +155,7 @@ then
        detached="$new"
        if test -n "$oldbranch"
        then
-               detach_warn="Note: you are not on any branch and are at commit \"$new_name\"
+               detach_warn="Note: moving to \"$new_name\" which isn't a local branch
 If you want to create a new branch from this checkout, you may do so
 (now or later) by using -b with the checkout command again. Example:
   git checkout -b <new_branch_name>"