From cbda121c993bf14d3743c7fdf0f8c476c9f7c636 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 4 Nov 2011 17:35:42 -0700 Subject: fmt-merge-msg: package options into a structure This way new features can be added more easily Signed-off-by: Junio C Hamano --- builtin.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index 0e9da9083..e94a5dc8a 100644 --- a/builtin.h +++ b/builtin.h @@ -14,8 +14,14 @@ extern const char git_usage_string[]; extern const char git_more_info_string[]; extern void prune_packed_objects(int); + +struct fmt_merge_msg_opts { + unsigned add_title:1; + int shortlog_len; +}; + extern int fmt_merge_msg(struct strbuf *in, struct strbuf *out, - int merge_title, int shortlog_len); + struct fmt_merge_msg_opts *); extern void commit_notes(struct notes_tree *t, const char *msg); struct notes_rewrite_cfg { -- cgit v1.2.1