Don't crash fast-import if the marks cannot be exported.
[gitweb.git] / git-checkout.sh
index c52f352f085728f0ce58895538b6f5ecff8c6d45..8500f51ea27054d328be6e7e53c9f14d0d9c1979 100755 (executable)
@@ -156,9 +156,9 @@ then
        if test -n "$oldbranch"
        then
                detach_warn="warning: you are not on ANY branch anymore.
-If you meant to create a new branch from the commit, you need -b to
-associate a new branch with the wanted checkout.  Example:
-  git checkout -b <new_branch_name> $arg"
+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:
+  git checkout -b <new_branch_name>"
        fi
 elif test -z "$oldbranch" && test -n "$branch"
 then