2020-01-12 00:36:56 +01:00
|
|
|
#ifndef FMT_MERGE_MSG_H
|
|
|
|
#define FMT_MERGE_MSG_H
|
|
|
|
|
2020-11-21 19:20:35 +01: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;
|
|
|
|
};
|
|
|
|
|
2020-01-12 00:36:56 +01:00
|
|
|
extern int merge_log_config;
|
|
|
|
int fmt_merge_msg_config(const char *key, const char *value, void *cb);
|
2020-11-21 19:20:35 +01:00
|
|
|
int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
|
|
|
|
struct fmt_merge_msg_opts *);
|
|
|
|
|
2020-01-12 00:36:56 +01:00
|
|
|
|
|
|
|
#endif /* FMT_MERGE_MSG_H */
|