enable "no-done" extension only when fetching over smart-http
[gitweb.git] / sha1_name.c
index ceb9cdd860da78bf3fe0a1819846ded0e87fda8c..709ff2eee64cf106191ad274bede82a95d00e2a3 100644 (file)
@@ -707,7 +707,7 @@ static int handle_one_ref(const char *path,
        }
        if (object->type != OBJ_COMMIT)
                return 0;
-       insert_by_date((struct commit *)object, list);
+       commit_list_insert_by_date((struct commit *)object, list);
        return 0;
 }