Start preparing for 1.8.4.3
[gitweb.git] / commit.h
index c4d324c9558bb7c785f17d35cf770be5e1f4bea9..c308674120112f09ff8a9625e357c62e2029bbba 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 */