aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-advise.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-advise.c')
-rw-r--r--t/helper/test-advise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-advise.c b/t/helper/test-advise.c
index 6967c8e25c..77c15a46cf 100644
--- a/t/helper/test-advise.c
+++ b/t/helper/test-advise.c
@@ -11,7 +11,7 @@ int cmd__advise_if_enabled(int argc, const char **argv)
die("usage: %s <advice>", argv[0]);
setup_git_directory();
- git_config(git_default_config, NULL);
+ repo_config(the_repository, git_default_config, NULL);
/*
* Any advice type can be used for testing, but NESTED_TAG was