builtin/checkout: reword hint for -b
[gitweb.git] / commit.h
index 95de81439e578ba2ff8df6aaa708b6dc14b089dd..e958a7c3dfbb3ff76410dc83e47d0ffa950af9ea 100644 (file)
--- 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 */