]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.h
commit: implement commit_list_contains()
[thirdparty/git.git] / commit.h
index 5467786c7be332299e54a954eb9af55b64d58848..742a6de460a73a814ad534c9c138a569ae2732f8 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -167,6 +167,8 @@ int find_commit_subject(const char *commit_buffer, const char **subject);
 
 struct commit_list *commit_list_insert(struct commit *item,
                                        struct commit_list **list);
+int commit_list_contains(struct commit *item,
+                        struct commit_list *list);
 struct commit_list **commit_list_append(struct commit *commit,
                                        struct commit_list **next);
 unsigned commit_list_count(const struct commit_list *l);