X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=236cf1333abc087034028c3e1863cf75cda5026c;hb=ad98a58b3d7a151dca59364b72097b6b875a56f6;hp=26ec8c0d1cebcf5e79564be690517cd2eb9c6413;hpb=419ff2c575b96555dedac8c736025acfca9f982f;p=git.git diff --git a/commit.h b/commit.h index 26ec8c0d1..236cf1333 100644 --- a/commit.h +++ b/commit.h @@ -40,6 +40,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);