upload-pack: use repository struct to get config
[alt-git.git] / fmt-merge-msg.h
blob73ca3e44652204867457092954d6f9d9ff04ad95
1 #ifndef FMT_MERGE_MSG_H
2 #define FMT_MERGE_MSG_H
4 #include "strbuf.h"
6 #define DEFAULT_MERGE_LOG_LEN 20
8 struct fmt_merge_msg_opts {
9 unsigned add_title:1,
10 credit_people:1;
11 int shortlog_len;
12 const char *into_name;
15 extern int merge_log_config;
16 int fmt_merge_msg_config(const char *key, const char *value,
17 const struct config_context *ctx, void *cb);
18 int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
19 struct fmt_merge_msg_opts *);
22 #endif /* FMT_MERGE_MSG_H */