2020-12-21 18:19:33 +03:00
|
|
|
#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;
|
|
|
|
|
2021-04-13 14:41:17 +03:00
|
|
|
int diff_merges_config(const char *value);
|
|
|
|
|
2021-05-21 00:46:59 +03:00
|
|
|
void diff_merges_suppress_options_parsing(void);
|
|
|
|
|
2020-12-21 18:19:34 +03:00
|
|
|
int diff_merges_parse_opts(struct rev_info *revs, const char **argv);
|
|
|
|
|
2020-12-21 18:19:38 +03:00
|
|
|
void diff_merges_suppress(struct rev_info *revs);
|
|
|
|
|
2020-12-21 18:19:37 +03:00
|
|
|
void diff_merges_default_to_first_parent(struct rev_info *revs);
|
2020-12-21 18:19:34 +03:00
|
|
|
|
|
|
|
void diff_merges_default_to_dense_combined(struct rev_info *revs);
|
|
|
|
|
2020-12-21 18:19:39 +03:00
|
|
|
void diff_merges_set_dense_combined_if_unset(struct rev_info *revs);
|
|
|
|
|
2020-12-21 18:19:37 +03:00
|
|
|
void diff_merges_setup_revs(struct rev_info *revs);
|
2020-12-21 18:19:33 +03:00
|
|
|
|
|
|
|
#endif
|