From ee20a129de6f332da092e93feb2dd5f8330f9bc0 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 10 Sep 2008 22:10:31 +0200 Subject: commit_tree(): add a new author parameter In case it's NULL, it is still determined automatically, but now you have the ability to specify one yourself. Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- builtin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index e67cb2090e..8893b3ca59 100644 --- a/builtin.h +++ b/builtin.h @@ -17,7 +17,8 @@ extern int read_line_with_nul(char *buf, int size, FILE *file); extern int fmt_merge_msg(int merge_summary, struct strbuf *in, struct strbuf *out); extern int commit_tree(const char *msg, unsigned char *tree, - struct commit_list *parents, unsigned char *ret); + struct commit_list *parents, unsigned char *ret, + const char *author); extern int check_pager_config(const char *cmd); extern int cmd_add(int argc, const char **argv, const char *prefix); -- cgit v1.3-5-g9baa