packfile: convert find_pack_entry to object_id
[gitweb.git] / sha1_name.c
index 5b93bf8da36939376b506f96624f568875397969..7043652a24da031e03facd8a5b95fce4abce7b77 100644 (file)
@@ -1698,7 +1698,6 @@ static int get_oid_with_context_1(const char *name,
                                                                   name, len);
                                }
                        }
-                       hashcpy(oc->tree, tree_oid.hash);
                        if (flags & GET_OID_RECORD_PATH)
                                oc->path = xstrdup(filename);