diff options
author | Elijah Newren <newren@gmail.com> | 2018-06-27 00:46:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-27 12:25:17 -0700 |
commit | d7f590be8409363afad51519d3060188d33fb775 (patch) | |
tree | 74697b958d0aa76fc89075221ef4b70de31b0ee3 /git-rebase--merge.sh | |
parent | Fix use of strategy options with interactive rebases (diff) | |
download | tgif-d7f590be8409363afad51519d3060188d33fb775.tar.xz |
git-rebase--merge: modernize "git-$cmd" to "git $cmd"
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase--merge.sh')
-rw-r--r-- | git-rebase--merge.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rebase--merge.sh b/git-rebase--merge.sh index ceb715453c..96bec9c767 100644 --- a/git-rebase--merge.sh +++ b/git-rebase--merge.sh @@ -71,7 +71,7 @@ call_merge () { test -z "$strategy" && strategy=recursive # If cmt doesn't have a parent, don't include it as a base base=$(git rev-parse --verify --quiet $cmt^) - eval 'git-merge-$strategy' $strategy_opts $base ' -- "$hd" "$cmt"' + eval 'git merge-$strategy' $strategy_opts $base ' -- "$hd" "$cmt"' rv=$? case "$rv" in 0) @@ -88,7 +88,7 @@ call_merge () { ;; *) die "Unknown exit code ($rv) from command:" \ - "git-merge-$strategy $cmt^ -- HEAD $cmt" + "git merge-$strategy $cmt^ -- HEAD $cmt" ;; esac } |