X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=commit.h;h=ba9f63813eba004ae409eba8741266a074161239;hb=9d5b05c6d56a0fb12d43d50d7853178feaf59daa;hp=3a7b06a828930ca23d0fb045feab993a1452b2d3;hpb=b6bc8c2309d7667ba5a43cb6417b5b60a358754d;p=~andy%2Fgit diff --git a/commit.h b/commit.h index 3a7b06a82..ba9f63813 100644 --- a/commit.h +++ b/commit.h @@ -133,6 +133,7 @@ extern int is_repository_shallow(void); extern struct commit_list *get_shallow_commits(struct object_array *heads, int depth, int shallow_flag, int not_shallow_flag); +int is_descendant_of(struct commit *, struct commit_list *); int in_merge_bases(struct commit *, struct commit **, int); extern int interactive_add(int argc, const char **argv, const char *prefix);