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