summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-26 17:23:51 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-26 17:23:51 -0700
commitf996fbf8a09d54cb293cdbc05713ca6a4678740a (patch)
tree7e8fe4100153c85be6df899ad1522ee3628030b0 /git-rebase.sh
parentMerge branch 'jc/cache-tree' into next (diff)
parentgit-fetch: resolve remote symrefs for HTTP transport (diff)
downloadtgif-f996fbf8a09d54cb293cdbc05713ca6a4678740a.tar.xz
Merge branch 'nh/fetch-http' into next
* nh/fetch-http: git-fetch: resolve remote symrefs for HTTP transport commit-tree.c: check_valid() microoptimization. Fix filename verification when in a subdirectory rebase: typofix. socksetup: don't return on set_reuse_addr() error
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 86dfe9cb96..f7b2b9401a 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -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"