api-credentials.txt: add "see also" section
[git.git] / git-rebase.sh
index 00ca7b99fef35e21d24af844e6dbaa92cab5834f..03f73da8879455a5b07644f8bc00609b1990b0d9 100755 (executable)
@@ -380,7 +380,7 @@ then
                then
                        . git-parse-remote
                        error_on_missing_default_upstream "rebase" "rebase" \
-                               "against" "git rebase <upstream branch>"
+                               "against" "git rebase <branch>"
                fi
                ;;
        *)      upstream_name="$1"
@@ -418,7 +418,7 @@ case "$onto_name" in
        ;;
 *)
        onto=$(git rev-parse --verify "${onto_name}^0") ||
-       die "Does not point to a valid commit: $1"
+       die "Does not point to a valid commit: $onto_name"
        ;;
 esac