push: further clean up fields of "struct ref"
[gitweb.git] / commit.h
index 9f2131318d4c43fdaaca40e45e45e7d1af61cdfe..c4cd046160c7594c09bf0dd146e7cd862cb3fc0f 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -222,4 +222,8 @@ struct commit *get_merge_parent(const char *name);
 
 extern int parse_signed_commit(const unsigned char *sha1,
                               struct strbuf *message, struct strbuf *signature);
+extern void print_commit_list(struct commit_list *list,
+                             const char *format_cur,
+                             const char *format_last);
+
 #endif /* COMMIT_H */