Code

rebase: typofix.
authorJunio C Hamano <junkio@cox.net>
Wed, 26 Apr 2006 19:07:42 +0000 (12:07 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Apr 2006 19:16:19 +0000 (12:16 -0700)
Noticed by Sean.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-rebase.sh

index 86dfe9cb96aea2f52ea6dea51d89605530abfd08..f7b2b9401a90e5aa598daa6049ae5d33e5c5b157 100755 (executable)
@@ -107,7 +107,7 @@ onto=$(git-rev-parse --verify "${onto_name}^0") || exit
 
 # Check if we are already based on $onto, but this should be
 # done only when upstream and onto are the same.
-if test "$upstream" = "onto"
+if test "$upstream" = "$onto"
 then
        mb=$(git-merge-base "$onto" "$branch")
        if test "$mb" = "$onto"