diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-22 14:40:17 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-22 14:40:17 -0800 |
commit | 716958c9a23cbb4bf671dc89e094742e8ec41793 (patch) | |
tree | 46a4a67f30239622d79637ed7b0a1716ad6d5d15 /commit.h | |
parent | 853563d7344ee532aa56f8a9aabcfdfb5c4fe2c3 (diff) | |
parent | 47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (diff) | |
download | git-716958c9a23cbb4bf671dc89e094742e8ec41793.tar.gz |
Merge branch 'tf/commit-list-prefix'
* tf/commit-list-prefix:
commit: Add commit_list prefix in two function names.
Conflicts:
sha1_name.c
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -39,20 +39,20 @@ struct commit *lookup_commit_reference_gently(const unsigned char *sha1, struct commit *lookup_commit_reference_by_name(const char *name); 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); +struct commit_list *commit_list_insert(struct commit *item, + struct commit_list **list); unsigned commit_list_count(const struct commit_list *l); -struct commit_list * insert_by_date(struct commit *item, struct commit_list **list); +struct commit_list *commit_list_insert_by_date(struct commit *item, + struct commit_list **list); +void commit_list_sort_by_date(struct commit_list **list); void free_commit_list(struct commit_list *list); -void sort_by_date(struct commit_list **list); - /* Commit formats */ enum cmit_fmt { CMIT_FMT_RAW, |