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