Fix linking for not-so-clever linkers.
[gitweb.git] / builtin-diff-tree.c
index 1e66fcac2186d0946b5d15a5825eb400b2e67003..b6106685942e3cb3a5db2b3a67123b5bd554d856 100644 (file)
@@ -67,12 +67,11 @@ int cmd_diff_tree(int argc, const char **argv, char **envp)
        static struct rev_info *opt = &log_tree_opt;
        int read_stdin = 0;
 
-       git_config(git_diff_config);
+       git_config(git_default_config); /* no "diff" UI options */
        nr_sha1 = 0;
        init_revisions(opt);
        opt->abbrev = 0;
        opt->diff = 1;
-       opt->diffopt.msg_sep = "---\n";
        argc = setup_revisions(argc, argv, opt, NULL);
 
        while (--argc > 0) {