summaryrefslogtreecommitdiffstats
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-01 22:28:25 +0200
committerJunio C Hamano <gitster@pobox.com>2012-06-01 22:28:25 +0200
commit3ba46634202968045e05e4d7f969d97c61efa53d (patch)
tree38e71726997c2161a44016af1407bf182cb625a9 /git-rebase.sh
parentMerge branch 'nh/empty-rebase' (diff)
parentrebase: report invalid commit correctly (diff)
downloadgit-3ba46634202968045e05e4d7f969d97c61efa53d.tar.xz
git-3ba46634202968045e05e4d7f969d97c61efa53d.zip
Merge branch 'ef/maint-rebase-error-message'
By Erik Faye-Lund * ef/maint-rebase-error-message: rebase: report invalid commit correctly
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 9148ec25c1..e616737444 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -424,7 +424,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