Merge git://git.bogomips.org/git-svn
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Dec 2009 05:59:04 +0000 (21:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Dec 2009 05:59:04 +0000 (21:59 -0800)
* git://git.bogomips.org/git-svn:
git-svn: set svn.authorsfile earlier when cloning
git-svn: Set svn.authorsfile to an absolute path when cloning

builtin-merge.c
git-pull.sh
index 56a1bb651f89c05178153906192857d34c8061e3..f1c84d759dd44f661fb76741d528e43702dfc901 100644 (file)
@@ -796,11 +796,6 @@ static int suggest_conflicts(void)
        return 1;
 }
 
-static const char deprecation_warning[] =
-       "'git merge <msg> HEAD <commit>' is deprecated. Please update\n"
-       "your script to use 'git merge -m <msg> <commit>' instead.\n"
-       "In future versions of git, this syntax will be removed.";
-
 static struct commit *is_old_style_invocation(int argc, const char **argv)
 {
        struct commit *second_token = NULL;
@@ -814,7 +809,6 @@ static struct commit *is_old_style_invocation(int argc, const char **argv)
                        die("'%s' is not a commit", argv[1]);
                if (hashcmp(second_token->object.sha1, head))
                        return NULL;
-               warning(deprecation_warning);
        }
        return second_token;
 }
index 502af1a9c44382636c5c0f62d0f76ec789960933..bfeb4a0ff65fabaa49b212411ee2451cbf656f3d 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 $verbosity $diffstat $no_commit $squash $no_ff $ff_only $log_arg $strategy_args \
-       -m "$merge_name" $merge_head
+exec git-merge $diffstat $no_commit $squash $no_ff $ff_only $log_arg $strategy_args \
+       "$merge_name" HEAD $merge_head $verbosity