repo-config: trim white-space before comment
[gitweb.git] / diff-tree.c
index 2b79dd0a68c30343d74e3e82c056fef6a355e82e..d1c61c8515cd531f1304b2b3cd0dea6a975c26c2 100644 (file)
@@ -117,10 +117,7 @@ int main(int argc, const char **argv)
        if (opt->dense_combined_merges)
                opt->diffopt.output_format = DIFF_FORMAT_PATCH;
 
-       if (opt->diffopt.output_format == DIFF_FORMAT_PATCH)
-               opt->diffopt.recursive = 1;
-
-       diff_tree_setup_paths(get_pathspec(prefix, argv), opt);
+       diff_tree_setup_paths(get_pathspec(prefix, argv), &opt->diffopt);
        diff_setup_done(&opt->diffopt);
 
        switch (nr_sha1) {