l10n: git.pot: v2.7.0 round 1 (66 new, 29 removed)
[gitweb.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);