Merge branch 'so/combine-diff-simplify'
Code simplification. * so/combine-diff-simplify: diff: get rid of redundant 'dense' argument
This commit is contained in:
@ -865,7 +865,8 @@ static void collect_changed_submodules(struct repository *r,
|
||||
diff_rev.diffopt.output_format |= DIFF_FORMAT_CALLBACK;
|
||||
diff_rev.diffopt.format_callback = collect_changed_submodules_cb;
|
||||
diff_rev.diffopt.format_callback_data = &data;
|
||||
diff_tree_combined_merge(commit, 1, &diff_rev);
|
||||
diff_rev.dense_combined_merges = 1;
|
||||
diff_tree_combined_merge(commit, &diff_rev);
|
||||
}
|
||||
|
||||
reset_revision_walk();
|
||||
|
||||
Reference in New Issue
Block a user