summaryrefslogtreecommitdiffstats
path: root/walker.c
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-11-27 02:58:14 +0100
committerJunio C Hamano <gitster@pobox.com>2010-11-29 23:01:52 +0100
commit47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (patch)
tree97d8360010d379d0fd160dbe3791061ccfd3b45b /walker.c
parentMerge branch 'cb/maint-orphan-merge-noclobber' (diff)
downloadgit-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.xz
git-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.zip
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 'walker.c')
-rw-r--r--walker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/walker.c b/walker.c
index 11d9052ed8..dce7128daf 100644
--- a/walker.c
+++ b/walker.c
@@ -207,7 +207,7 @@ static int mark_complete(const char *path, const unsigned char *sha1, int flag,
struct commit *commit = lookup_commit_reference_gently(sha1, 1);
if (commit) {
commit->object.flags |= COMPLETE;
- insert_by_date(commit, &complete);
+ commit_list_insert_by_date(commit, &complete);
}
return 0;
}