X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=upload-pack.c;h=b40a43f27d0e16f0305153f984741938b3a6ab89;hb=70ec8687a66eb7d3b273d9a7996fab309d2b0974;hp=f05e4229d0d3a3ed34b4bba6636f4d333c74dc22;hpb=be0a4c820094c72cff67b69de8ba7ce88145ce86;p=thirdparty%2Fgit.git diff --git a/upload-pack.c b/upload-pack.c index f05e4229d0..b40a43f27d 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;