X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=9113bbe4889d71e824348edcb920110598db18d2;hb=13a4899886958c211b96bced228fdaaa42674491;hp=eb2b8ac3cd5f375e70354e8c364abd036b0966ed;hpb=7d808125a0197e5660a57f77d14937604b16e39a;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);