summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-parse-remote.sh3
-rwxr-xr-xgit-rebase.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 9698a05c3b..d3c39980f3 100644
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -56,7 +56,8 @@ get_remote_merge_branch () {
error_on_missing_default_upstream () {
cmd="$1"
op_type="$2"
- example="$3"
+ op_prep="$3" # FIXME: op_prep is no longer used
+ example="$4"
branch_name=$(git symbolic-ref -q HEAD)
display_branch_name="${branch_name#refs/heads/}"
# If there's only one remote, use that in the suggestion
diff --git a/git-rebase.sh b/git-rebase.sh
index 780655e247..48d7c5ded4 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -452,7 +452,7 @@ then
then
. git-parse-remote
error_on_missing_default_upstream "rebase" "rebase" \
- "git rebase $(gettext '<branch>')"
+ "against" "git rebase $(gettext '<branch>')"
fi
test "$fork_point" = auto && fork_point=t