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 /upload-pack.c | |
parent | 853563d7344ee532aa56f8a9aabcfdfb5c4fe2c3 (diff) | |
parent | 47e44ed1dc17d3a94ec4bf8dd29810ab7882041c (diff) | |
download | git-716958c9a23cbb4bf671dc89e094742e8ec41793.tar.gz git-716958c9a23cbb4bf671dc89e094742e8ec41793.tar.xz |
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 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upload-pack.c b/upload-pack.c index f05e4229d..b40a43f27 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -366,7 +366,7 @@ static int reachable(struct commit *want) { struct commit_list *work = NULL; - insert_by_date(want, &work); + commit_list_insert_by_date(want, &work); while (work) { struct commit_list *list = work->next; struct commit *commit = work->item; @@ -387,7 +387,7 @@ static int reachable(struct commit *want) for (list = commit->parents; list; list = list->next) { struct commit *parent = list->item; if (!(parent->object.flags & REACHABLE)) - insert_by_date(parent, &work); + commit_list_insert_by_date(parent, &work); } } want->object.flags |= REACHABLE; |