2011-10-07 10:12:09 +04:00
|
|
|
#ifndef FMT_MERGE_MSG_H
|
|
|
|
#define FMT_MERGE_MSG_H
|
|
|
|
|
2020-03-24 04:07:51 +03:00
|
|
|
#include "strbuf.h"
|
|
|
|
|
|
|
|
#define DEFAULT_MERGE_LOG_LEN 20
|
|
|
|
|
|
|
|
struct fmt_merge_msg_opts {
|
|
|
|
unsigned add_title:1,
|
|
|
|
credit_people:1;
|
|
|
|
int shortlog_len;
|
|
|
|
};
|
|
|
|
|
2011-10-07 10:12:09 +04:00
|
|
|
extern int merge_log_config;
|
2019-04-29 11:28:14 +03:00
|
|
|
int fmt_merge_msg_config(const char *key, const char *value, void *cb);
|
2020-03-24 04:07:51 +03:00
|
|
|
int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
|
|
|
|
struct fmt_merge_msg_opts *);
|
|
|
|
|
2011-10-07 10:12:09 +04:00
|
|
|
|
|
|
|
#endif /* FMT_MERGE_MSG_H */
|