X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=ba9f63813eba004ae409eba8741266a074161239;hb=b37f26d8a2d4551b8ee365e66cbaf3d03b05e74d;hp=3a7b06a828930ca23d0fb045feab993a1452b2d3;hpb=a14f15427bca9af70127f26cd3cb0fcd78c8d36f;p=git.git 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);