summaryrefslogtreecommitdiff
path: root/tests/attr/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/attr/ignore.c')
-rw-r--r--tests/attr/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/attr/ignore.c b/tests/attr/ignore.c
index b187db01c..312242d09 100644
--- a/tests/attr/ignore.c
+++ b/tests/attr/ignore.c
@@ -157,7 +157,7 @@ void test_attr_ignore__expand_tilde_to_homedir(void)
/* construct fake home with fake global excludes */
cl_git_mkfile("home/globalexclude", "# found me\n*.global_with_tilde\n");
- cl_git_pass(git_repository_config(&cfg, g_repo));
+ cl_git_pass(git_repository_config_writable(&cfg, g_repo));
cl_git_pass(git_config_set_string(cfg, "core.excludesfile", "~/globalexclude"));
git_config_free(cfg);