summaryrefslogtreecommitdiff
path: root/t/helper/test-config.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-config.c')
-rw-r--r--t/helper/test-config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/helper/test-config.c b/t/helper/test-config.c
index 3c6d08cd09..83a4f2ab86 100644
--- a/t/helper/test-config.c
+++ b/t/helper/test-config.c
@@ -72,6 +72,9 @@ int cmd_main(int argc, const char **argv)
const char *v;
const struct string_list *strptr;
struct config_set cs;
+
+ setup_git_directory();
+
git_configset_init(&cs);
if (argc < 2) {