ls-remote: simplify UNLEAK() usage
[git] / fmt-merge-msg.h
1 #ifndef FMT_MERGE_MSG_H
2 #define FMT_MERGE_MSG_H
3
4 #include "strbuf.h"
5
6 #define DEFAULT_MERGE_LOG_LEN 20
7
8 struct fmt_merge_msg_opts {
9         unsigned add_title:1,
10                 credit_people:1;
11         int shortlog_len;
12 };
13
14 extern int merge_log_config;
15 int fmt_merge_msg_config(const char *key, const char *value, void *cb);
16 int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
17                   struct fmt_merge_msg_opts *);
18
19
20 #endif /* FMT_MERGE_MSG_H */