2011-10-07 06:12:09 +00:00
|
|
|
#ifndef FMT_MERGE_MSG_H
|
|
|
|
#define FMT_MERGE_MSG_H
|
|
|
|
|
2020-03-24 01:07:51 +00: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 06:12:09 +00:00
|
|
|
extern int merge_log_config;
|
2019-04-29 08:28:14 +00:00
|
|
|
int fmt_merge_msg_config(const char *key, const char *value, void *cb);
|
2020-03-24 01:07:51 +00:00
|
|
|
int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
|
|
|
|
struct fmt_merge_msg_opts *);
|
|
|
|
|
2011-10-07 06:12:09 +00:00
|
|
|
|
|
|
|
#endif /* FMT_MERGE_MSG_H */
|