diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-09-10 22:10:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-10 15:25:46 -0700 |
commit | ee20a129de6f332da092e93feb2dd5f8330f9bc0 (patch) | |
tree | 471d0e4460a41eadf03eac6cb81cda6b8c6848dc /builtin.h | |
parent | da06a80322a2357b8b5b6ddb8b5648f97ed73e83 (diff) | |
download | git-ee20a129de6f332da092e93feb2dd5f8330f9bc0.tar.gz |
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 <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |