diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-11-26 23:58:14 -0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-29 14:01:52 -0800 |
commit | 47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (patch) | |
tree | 97d8360010d379d0fd160dbe3791061ccfd3b45b /builtin/describe.c | |
parent | 7d43de925b2771d295d8fc4341b7bd544e2a74fa (diff) | |
download | git-47e44ed1dc17d3a94ec4bf8dd29810ab7882041c.tar.gz |
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 'builtin/describe.c')
-rw-r--r-- | builtin/describe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/describe.c b/builtin/describe.c index 43caff2ffe..9304dd0ccf 100644 --- a/builtin/describe.c +++ b/builtin/describe.c @@ -189,7 +189,7 @@ static unsigned long finish_depth_computation( struct commit *p = parents->item; parse_commit(p); if (!(p->object.flags & SEEN)) - insert_by_date(p, list); + commit_list_insert_by_date(p, list); p->object.flags |= c->object.flags; parents = parents->next; } @@ -300,7 +300,7 @@ static void describe(const char *arg, int last_one) struct commit *p = parents->item; parse_commit(p); if (!(p->object.flags & SEEN)) - insert_by_date(p, &list); + commit_list_insert_by_date(p, &list); p->object.flags |= c->object.flags; parents = parents->next; } @@ -328,7 +328,7 @@ static void describe(const char *arg, int last_one) qsort(all_matches, match_cnt, sizeof(all_matches[0]), compare_pt); if (gave_up_on) { - insert_by_date(gave_up_on, &list); + commit_list_insert_by_date(gave_up_on, &list); seen_commits--; } seen_commits += finish_depth_computation(&list, &all_matches[0]); |