]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.h
log: use true parents for diff even when rewriting
[thirdparty/git.git] / commit.h
index 35cc4e266bd4afe0e00d2efb2781db2e95906936..ca766d2f4aa0df98d958e19449ab24d417c5539b 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 */