fmt-merge-msg.h 420 B

123456789101112131415161718192021
  1. #ifndef FMT_MERGE_MSG_H
  2. #define FMT_MERGE_MSG_H
  3. #include "strbuf.h"
  4. #define DEFAULT_MERGE_LOG_LEN 20
  5. struct fmt_merge_msg_opts {
  6. unsigned add_title:1,
  7. credit_people:1;
  8. int shortlog_len;
  9. };
  10. extern int merge_log_config;
  11. int fmt_merge_msg_config(const char *key, const char *value, void *cb);
  12. int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
  13. struct fmt_merge_msg_opts *);
  14. #endif /* FMT_MERGE_MSG_H */