Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
introduce notes-cache interface
[gitweb.git]
/
commit.h
diff --git
a/commit.h
b/commit.h
index 3cf51665816abb5e5855c036f102019eded23bd6..2b7fd89dfd047968aa3e7c927a6c20e506a976de 100644
(file)
--- a/
commit.h
+++ b/
commit.h
@@
-158,4
+158,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 */