diff --git a/git-rebase.sh b/git-rebase.sh index 29028dd..5554541 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -281,7 +281,7 @@ git-reset --hard "$onto" # If the $onto is a proper descendant of the tip of the branch, then # we just fast forwarded. -if test "$mb" = "$onto" +if test "$mb" = "$branch" then echo >&2 "Fast-forwarded $branch to $newbase." exit 0