aboutsummaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-11-26 23:58:14 -0200
committerJunio C Hamano <gitster@pobox.com>2010-11-29 14:01:52 -0800
commit47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (patch)
tree97d8360010d379d0fd160dbe3791061ccfd3b45b /sha1_name.c
parent7d43de925b2771d295d8fc4341b7bd544e2a74fa (diff)
downloadgit-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.gz
git-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.xz
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 'sha1_name.c')
-rw-r--r--sha1_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 3e856b803..a96de0bda 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -683,7 +683,7 @@ static int handle_one_ref(const char *path,
}
if (object->type != OBJ_COMMIT)
return 0;
- insert_by_date((struct commit *)object, list);
+ commit_list_insert_by_date((struct commit *)object, list);
object->flags |= ONELINE_SEEN;
return 0;
}