From 92cf95696f0837b555d90fe6ef0ffd2b8348b4d0 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Thu, 1 Feb 2007 12:30:28 -0500 Subject: reword the detached head message a little again Seems clearer this way, to me at least. Signed-off-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- git-checkout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-checkout.sh') diff --git a/git-checkout.sh b/git-checkout.sh index deb479524a..97c26adba9 100755 --- a/git-checkout.sh +++ b/git-checkout.sh @@ -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 " -- cgit v1.2.3