rollback_packed_refs(): take a `packed_ref_store *` parameter
[gitweb.git] / diff-lib.c
index ee9df0f84721914506c6482f7d654c1ee01937ba..2982bf055acb6049a8cd6007244d60d985b7e619 100644 (file)
@@ -486,7 +486,7 @@ static int diff_cache(struct rev_info *revs,
        struct tree_desc t;
        struct unpack_trees_options opts;
 
-       tree = parse_tree_indirect(tree_oid->hash);
+       tree = parse_tree_indirect(tree_oid);
        if (!tree)
                return error("bad tree object %s",
                             tree_name ? tree_name : oid_to_hex(tree_oid));