Skip to content

Commit c0ecb07

Browse files
vonbrandgitster
authored andcommitted
git-pull.sh: Fix call to git-merge for new command format
Now "git merge <msg> HEAD" is officially deprecated, we should clean our own use as well. Signed-off-by: Horst H. von Brand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0748494 commit c0ecb07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-pull.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ fi
216216

217217
merge_name=$(git fmt-merge-msg $log_arg <"$GIT_DIR/FETCH_HEAD") || exit
218218
test true = "$rebase" &&
219-
exec git-rebase $diffstat $strategy_args --onto $merge_head \
219+
exec git rebase $diffstat $strategy_args --onto $merge_head \
220220
${oldremoteref:-$merge_head}
221-
exec git-merge $diffstat $no_commit $squash $no_ff $ff_only $log_arg $strategy_args \
222-
"$merge_name" HEAD $merge_head $verbosity
221+
exec git merge $verbosity $diffstat $no_commit $squash $no_ff $ff_only $log_arg $strategy_args \
222+
-m "$merge_name" $merge_head

0 commit comments

Comments
 (0)