http-push: convert process_ls_object and descendants to object_id
[gitweb.git] / builtin / reflog.c
index 7866a034123258611977055a8d39cf5066c32712..7e89e84dce04775dbf9809b6e43c4c06607e9d4e 100644 (file)
@@ -62,7 +62,7 @@ static int tree_is_complete(const struct object_id *oid)
        int complete;
        struct tree *tree;
 
-       tree = lookup_tree(oid->hash);
+       tree = lookup_tree(oid);
        if (!tree)
                return 0;
        if (tree->object.flags & SEEN)