summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-09-10 22:10:31 +0200
committerJunio C Hamano <gitster@pobox.com>2008-09-10 15:25:46 -0700
commitee20a129de6f332da092e93feb2dd5f8330f9bc0 (patch)
tree471d0e4460a41eadf03eac6cb81cda6b8c6848dc /builtin.h
parentda06a80322a2357b8b5b6ddb8b5648f97ed73e83 (diff)
downloadgit-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.h3
1 files changed, 2 insertions, 1 deletions
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);