Sergey Organov | a37eec6 | 2020-12-21 18:19:33 +0300 | [diff] [blame] | 1 | #ifndef DIFF_MERGES_H |
| 2 | #define DIFF_MERGES_H |
| 3 | |
| 4 | /* |
| 5 | * diff-merges - utility module to handle command-line options for |
| 6 | * selection of particular diff format of merge commits |
| 7 | * representation. |
| 8 | */ |
| 9 | |
| 10 | struct rev_info; |
| 11 | |
Sergey Organov | 17c13e6 | 2021-04-13 14:41:17 +0300 | [diff] [blame] | 12 | int diff_merges_config(const char *value); |
| 13 | |
Sergey Organov | 5acffd3 | 2021-09-01 19:52:20 +0300 | [diff] [blame] | 14 | void diff_merges_suppress_m_parsing(void); |
Sergey Organov | 19b2517 | 2021-05-21 00:46:59 +0300 | [diff] [blame] | 15 | |
Sergey Organov | 18f0947 | 2020-12-21 18:19:34 +0300 | [diff] [blame] | 16 | int diff_merges_parse_opts(struct rev_info *revs, const char **argv); |
| 17 | |
Sergey Organov | 09322b1 | 2020-12-21 18:19:38 +0300 | [diff] [blame] | 18 | void diff_merges_suppress(struct rev_info *revs); |
| 19 | |
Sergey Organov | 564a4fc | 2020-12-21 18:19:37 +0300 | [diff] [blame] | 20 | void diff_merges_default_to_first_parent(struct rev_info *revs); |
Sergey Organov | 18f0947 | 2020-12-21 18:19:34 +0300 | [diff] [blame] | 21 | |
| 22 | void diff_merges_default_to_dense_combined(struct rev_info *revs); |
| 23 | |
Sergey Organov | 3b6c17b | 2020-12-21 18:19:39 +0300 | [diff] [blame] | 24 | void diff_merges_set_dense_combined_if_unset(struct rev_info *revs); |
| 25 | |
Sergey Organov | 564a4fc | 2020-12-21 18:19:37 +0300 | [diff] [blame] | 26 | void diff_merges_setup_revs(struct rev_info *revs); |
Sergey Organov | a37eec6 | 2020-12-21 18:19:33 +0300 | [diff] [blame] | 27 | |
| 28 | #endif |