diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 03:25:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 07:59:50 +0300 |
commit | 75691ea3458a9eb9e80f6bdc2cc7c9321a9ac4ab (patch) | |
tree | 8046d90fc5f5c61bd06f27729f6a46b860f9c3db /t/helper/test-dump-split-index.c | |
parent | 2182abd94bf69a8daba18e71efae3e9f02a6c465 (diff) |
Update struct index_state to use struct object_id
Adjust struct index_state to use struct object_id instead of unsigned
char [20].
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-dump-split-index.c')
-rw-r--r-- | t/helper/test-dump-split-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-dump-split-index.c b/t/helper/test-dump-split-index.c index 754e9bb624..63c689d6ee 100644 --- a/t/helper/test-dump-split-index.c +++ b/t/helper/test-dump-split-index.c @@ -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"); |