commit: convert to use parse_pathspec
[gitweb.git] / builtin / log.c
index 9e2123295ffa80ecab83977099ed6a43fd4a93f9..e3222ed9f979e3140cbfc88ad2839c573c89bf06 100644 (file)
@@ -237,7 +237,7 @@ static void log_show_early(struct rev_info *revs, struct commit_list *list)
        int i = revs->early_output;
        int show_header = 1;
 
-       sort_in_topological_order(&list, revs->lifo);
+       sort_in_topological_order(&list, revs->sort_order);
        while (list && i) {
                struct commit *commit = list->item;
                switch (simplify_commit(revs, commit)) {