summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63460f2)
raw | patch | inline | side by side (parent: 63460f2)
author | Nicolas Pitre <nico@cam.org> | |
Wed, 31 Jan 2007 19:10:37 +0000 (14:10 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 31 Jan 2007 21:09:57 +0000 (13:09 -0800) |
This is not meant to frighten people or even to suggest they might be
doing something wrong, but rather to notify them of a state change and
provide a likely option in the case this state was entered by mistake.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
doing something wrong, but rather to notify them of a state change and
provide a likely option in the case this state was entered by mistake.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh | patch | blob | history |
diff --git a/git-checkout.sh b/git-checkout.sh
index 8500f51ea27054d328be6e7e53c9f14d0d9c1979..0bae86e325eba0326e29c73ffbaafa0e8eda897f 100755 (executable)
--- a/git-checkout.sh
+++ b/git-checkout.sh
detached="$new"
if test -n "$oldbranch"
then
- detach_warn="warning: you are not on ANY branch anymore.
-If you meant to create a new branch from this checkout, you may still do
-so (now or later) by using -b with the checkout command again. Example:
+ detach_warn="Note: you are not on ANY branch anymore.
+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>"
fi
elif test -z "$oldbranch" && test -n "$branch"