git-pull.sh: Fix call to git-merge for new command format
authorHorst H. von Brand <vonbrand@inf.utfsm.cl>
Tue, 1 Dec 2009 22:44:11 +0000 (19:44 -0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Dec 2009 18:42:48 +0000 (10:42 -0800)
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>
git-pull.sh

index bfeb4a0ff65fabaa49b212411ee2451cbf656f3d..502af1a9c44382636c5c0f62d0f76ec789960933 100755 (executable)
@@ -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