X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=9113bbe4889d71e824348edcb920110598db18d2;hb=8a59702ad888c8c399b096759c1c678ffeca5b03;hp=eb2b8ac3cd5f375e70354e8c364abd036b0966ed;hpb=2850c1a882ff78e181d0e44b54b595e6b272a02b;p=git.git diff --git a/commit.h b/commit.h index eb2b8ac3c..9113bbe48 100644 --- a/commit.h +++ b/commit.h @@ -41,6 +41,9 @@ int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size); int parse_commit(struct commit *item); +/* Find beginning and length of commit subject. */ +int find_commit_subject(const char *commit_buffer, const char **subject); + struct commit_list * commit_list_insert(struct commit *item, struct commit_list **list_p); unsigned commit_list_count(const struct commit_list *l); struct commit_list * insert_by_date(struct commit *item, struct commit_list **list);