http-push: convert process_ls_object and descendants to object_id
[gitweb.git] / bundle.c
index 6e181bb3d851fc7178aa10a4b2a5a0a592de9285..3386dba3be424ecaa831acf0d48ae7697a7d8412 100644 (file)
--- a/bundle.c
+++ b/bundle.c
@@ -367,7 +367,7 @@ static int write_bundle_refs(int bundle_fd, struct rev_info *revs)
                         * in terms of a tag (e.g. v2.0 from the range
                         * "v1.0..v2.0")?
                         */
-                       struct commit *one = lookup_commit_reference(oid.hash);
+                       struct commit *one = lookup_commit_reference(&oid);
                        struct object *obj;
 
                        if (e->item == &(one->object)) {