summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-09 05:33:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-05-09 05:33:08 (GMT)
commitdd75d07899653258587b854ce0e3f7f1b90610cf (patch)
treed95fd2d3ec348a0304717f58f0b4c8931908e760 /commit.h
parent3ecaa3b6a5f707617ea610d727c696f43f8b2f0b (diff)
parentb3373982667dc983b8dacf33861d25b20bafb995 (diff)
downloadgit-dd75d07899653258587b854ce0e3f7f1b90610cf.zip
git-dd75d07899653258587b854ce0e3f7f1b90610cf.tar.gz
git-dd75d07899653258587b854ce0e3f7f1b90610cf.tar.bz2
Merge branch 'jk/cached-textconv'
* jk/cached-textconv: diff: avoid useless filespec population diff: cache textconv output textconv: refactor calls to run_textconv introduce notes-cache interface make commit_tree a library function
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 26ec8c0..6ef88dc 100644
--- a/commit.h
+++ b/commit.h
@@ -163,4 +163,8 @@ static inline int single_parent(struct commit *commit)
struct commit_list *reduce_heads(struct commit_list *heads);
+extern int commit_tree(const char *msg, unsigned char *tree,
+ struct commit_list *parents, unsigned char *ret,
+ const char *author);
+
#endif /* COMMIT_H */