summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-11-27 01:58:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-29 22:01:52 (GMT)
commit47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (patch)
tree97d8360010d379d0fd160dbe3791061ccfd3b45b /commit.h
parent7d43de925b2771d295d8fc4341b7bd544e2a74fa (diff)
downloadgit-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.zip
git-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.gz
git-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.bz2
commit: Add commit_list prefix in two function names.
Add commit_list prefix to insert_by_date function and to sort_by_date, so it's clear that these functions refer to commit_list structure. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/commit.h b/commit.h
index 9113bbe..6452928 100644
--- a/commit.h
+++ b/commit.h
@@ -38,20 +38,20 @@ struct commit *lookup_commit_reference_gently(const unsigned char *sha1,
int quiet);
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,