t/helper/test-dump-split-index: initialize git repository
commit6946e525ae19dc756ff0a2a46abf1d1d30511594
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 22 Feb 2020 20:17:34 +0000 (22 20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 17:33:24 +0000 (24 09:33 -0800)
tree724550ef2e1f795d86b530de1d16f3efa81dc086
parent8bd5a2906ebca9e2d7fcecd1628c1585ffbd85d3
t/helper/test-dump-split-index: initialize git repository

In this test helper, we read the index.  In order to have the proper
hash algorithm set up, we must call setup_git_directory.  Do so, so that
the test works when extensions.objectFormat is set.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-dump-split-index.c