diff-merges: get rid of now empty diff_merges_init_revs()
After getting rid of 'ignore_merges' field, the diff_merges_init_revs() function became empty. Get rid of it. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d9b1bc6d13
commit
a6e66af923
@ -21,10 +21,6 @@ static void set_dense_combined(struct rev_info *revs)
|
||||
* Public functions. They are in the order they are called.
|
||||
*/
|
||||
|
||||
void diff_merges_init_revs(struct rev_info *revs)
|
||||
{
|
||||
}
|
||||
|
||||
int diff_merges_parse_opts(struct rev_info *revs, const char **argv)
|
||||
{
|
||||
int argcount = 1;
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
struct rev_info;
|
||||
|
||||
void diff_merges_init_revs(struct rev_info *revs);
|
||||
|
||||
int diff_merges_parse_opts(struct rev_info *revs, const char **argv);
|
||||
|
||||
void diff_merges_suppress(struct rev_info *revs);
|
||||
|
@ -1814,7 +1814,6 @@ void repo_init_revisions(struct repository *r,
|
||||
|
||||
revs->repo = r;
|
||||
revs->abbrev = DEFAULT_ABBREV;
|
||||
diff_merges_init_revs(revs);
|
||||
revs->simplify_history = 1;
|
||||
revs->pruning.repo = r;
|
||||
revs->pruning.flags.recursive = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user