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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-config.c b/t/helper/test-config.c
index 234c722b48..a6e936721f 100644
--- a/t/helper/test-config.c
+++ b/t/helper/test-config.c
@@ -126,7 +126,7 @@ int cmd__config(int argc, const char **argv)
goto exit1;
}
} else if (argc == 3 && !strcmp(argv[1], "get_string")) {
- if (!git_config_get_string_const(argv[2], &v)) {
+ if (!git_config_get_string_tmp(argv[2], &v)) {
printf("%s\n", v);
goto exit0;
} else {