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