blob: 19639689bb05f7b241f37a22ad16e83d1d0be8db [file] [log] [blame]
Sergey Organova37eec62020-12-21 18:19:33 +03001#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
10struct rev_info;
11
Sergey Organov17c13e62021-04-13 14:41:17 +030012int diff_merges_config(const char *value);
13
Sergey Organov5acffd32021-09-01 19:52:20 +030014void diff_merges_suppress_m_parsing(void);
Sergey Organov19b25172021-05-21 00:46:59 +030015
Sergey Organov18f09472020-12-21 18:19:34 +030016int diff_merges_parse_opts(struct rev_info *revs, const char **argv);
17
Sergey Organov09322b12020-12-21 18:19:38 +030018void diff_merges_suppress(struct rev_info *revs);
19
Sergey Organov564a4fc2020-12-21 18:19:37 +030020void diff_merges_default_to_first_parent(struct rev_info *revs);
Sergey Organov18f09472020-12-21 18:19:34 +030021
22void diff_merges_default_to_dense_combined(struct rev_info *revs);
23
Sergey Organov3b6c17b2020-12-21 18:19:39 +030024void diff_merges_set_dense_combined_if_unset(struct rev_info *revs);
25
Sergey Organov564a4fc2020-12-21 18:19:37 +030026void diff_merges_setup_revs(struct rev_info *revs);
Sergey Organova37eec62020-12-21 18:19:33 +030027
28#endif