]> git.ipfire.org Git - thirdparty/git.git/blobdiff - test-match-trees.c
Remove get_object_hash.
[thirdparty/git.git] / test-match-trees.c
index 264c64a2721063afb1f607e48dd86abea36984d4..109f03e711803251b5b5d06bc42579784a326ba8 100644 (file)
@@ -17,7 +17,7 @@ int main(int ac, char **av)
        if (!two)
                die("not a tree-ish %s", av[2]);
 
-       shift_tree(get_object_hash(one->object), get_object_hash(two->object), shifted, -1);
+       shift_tree(one->object.oid.hash, two->object.oid.hash, shifted, -1);
        printf("shifted: %s\n", sha1_to_hex(shifted));
 
        exit(0);