mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
09322b1da9
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>
25 lines
581 B
C
25 lines
581 B
C
#ifndef DIFF_MERGES_H
|
|
#define DIFF_MERGES_H
|
|
|
|
/*
|
|
* diff-merges - utility module to handle command-line options for
|
|
* selection of particular diff format of merge commits
|
|
* representation.
|
|
*/
|
|
|
|
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);
|
|
|
|
void diff_merges_default_to_first_parent(struct rev_info *revs);
|
|
|
|
void diff_merges_default_to_dense_combined(struct rev_info *revs);
|
|
|
|
void diff_merges_setup_revs(struct rev_info *revs);
|
|
|
|
#endif
|