reword the detached head message a little again
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>
Nicolas Pitre committed
Feb 1, 2007 at 12:30 UTC
92cf95696f0837b555d90fe6ef0ffd2b8348b4d0
1 file changed
+1
-1
git-checkout.sh
+1
-1
@@ -155,7 +155,7 @@ then
155
detached="$new"
156
if test -n "$oldbranch"
157
then
158
- detach_warn="Note: you are not on any branch and are at commit \"$new_name\"
158
+ detach_warn="Note: moving to \"$new_name\" which isn't a local branch
159
If you want to create a new branch from this checkout, you may do so
160
(now or later) by using -b with the checkout command again. Example:
161
git checkout -b <new_branch_name>"