diff-merges: new function diff_merges_suppress()
This function sets all the relevant flags to disabled state, so that no code that checks only one of them get it wrong. Then we call this new function everywhere where diff merges output suppression is needed. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
564a4fc847
commit
09322b1da9
@ -13,6 +13,8 @@ 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);
|
||||
|
||||
void diff_merges_default_to_first_parent(struct rev_info *revs);
|
||||
|
||||
void diff_merges_default_to_dense_combined(struct rev_info *revs);
|
||||
|
Reference in New Issue
Block a user