Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-02-01 20:30:28 +0300
committerJunio C Hamano <junkio@cox.net>2007-02-02 08:34:54 +0300
commit92cf95696f0837b555d90fe6ef0ffd2b8348b4d0 (patch)
tree0c847477cfc289ee6f865991f72a46d3e2fe4e29 /git-checkout.sh
parente4b0e4ab8ee68df0fa99100640ed5cb54b736141 (diff)
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>
Diffstat (limited to 'git-checkout.sh')
-rwxr-xr-xgit-checkout.sh2
1 files changed, 1 insertions, 1 deletions
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 <new_branch_name>"