about summary refs log tree commit diff
path: root/third_party/git/t/helper/test-dump-split-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/helper/test-dump-split-index.c')
-rw-r--r--third_party/git/t/helper/test-dump-split-index.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/git/t/helper/test-dump-split-index.c b/third_party/git/t/helper/test-dump-split-index.c
index 63c689d6ee9d..a209880eb37a 100644
--- a/third_party/git/t/helper/test-dump-split-index.c
+++ b/third_party/git/t/helper/test-dump-split-index.c
@@ -13,6 +13,8 @@ int cmd__dump_split_index(int ac, const char **av)
 	struct split_index *si;
 	int i;
 
+	setup_git_directory();
+
 	do_read_index(&the_index, av[1], 1);
 	printf("own %s\n", oid_to_hex(&the_index.oid));
 	si = the_index.split_index;