Merge branch 'tr/log-full-diff-keep-true-parents' into maint
[gitweb.git] / commit.h
index d912a9d4ac3fe36b2e69d48b1725f01bdf289b26..f9504f70cc5b57de590099024556b9d2b6b2cdce 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -62,6 +62,9 @@ struct commit_list *commit_list_insert_by_date(struct commit *item,
                                    struct commit_list **list);
 void commit_list_sort_by_date(struct commit_list **list);
 
+/* Shallow copy of the input list */
+struct commit_list *copy_commit_list(struct commit_list *list);
+
 void free_commit_list(struct commit_list *list);
 
 /* Commit formats */