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