Skip to content

Commit

Permalink
git-pull.sh: Fix call to git-merge for new command format
Browse files Browse the repository at this point in the history
Now "git merge <msg> HEAD" is officially deprecated, we should
clean our own use as well.

Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Horst H. von Brand authored and Junio C Hamano committed Dec 2, 2009
1 parent 0748494 commit c0ecb07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ fi

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

0 comments on commit c0ecb07

Please sign in to comment.