diff --no-index: use parse_options() instead of diff_opt_parse()
[gitweb.git] / t / helper / test-dump-split-index.c
index 754e9bb6244e316b38fc6119329c880373ab1901..63c689d6ee9d018efd32aa228ee3cf784fa5b71d 100644 (file)
@@ -14,7 +14,7 @@ int cmd__dump_split_index(int ac, const char **av)
        int i;
 
        do_read_index(&the_index, av[1], 1);
-       printf("own %s\n", sha1_to_hex(the_index.sha1));
+       printf("own %s\n", oid_to_hex(&the_index.oid));
        si = the_index.split_index;
        if (!si) {
                printf("not a split index\n");