aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-config.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/helper/test-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-config.c b/t/helper/test-config.c
index 30e70f1a6c..ce1e333051 100644
--- a/t/helper/test-config.c
+++ b/t/helper/test-config.c
@@ -155,7 +155,7 @@ int cmd__config(int argc, const char **argv)
BUG("Key \"%s\" has unknown return %d", argv[2], ret);
goto exit1;
} else if (argc == 3 && !strcmp(argv[1], "get_int")) {
- if (!git_config_get_int(argv[2], &val)) {
+ if (!repo_config_get_int(the_repository, argv[2], &val)) {
printf("%d\n", val);
goto exit0;
} else {