summaryrefslogtreecommitdiff
path: root/tests/refs/branches/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/refs/branches/create.c')
-rw-r--r--tests/refs/branches/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/branches/create.c b/tests/refs/branches/create.c
index 3a4f33b6e..5efe498f7 100644
--- a/tests/refs/branches/create.c
+++ b/tests/refs/branches/create.c
@@ -120,7 +120,7 @@ void test_refs_branches_create__default_reflog_message(void)
git_signature *sig;
git_config *cfg;
- cl_git_pass(git_repository_config(&cfg, repo));
+ cl_git_pass(git_repository_config_writable(&cfg, repo));
cl_git_pass(git_config_set_string(cfg, "user.name", "Foo Bar"));
cl_git_pass(git_config_set_string(cfg, "user.email", "foo@example.com"));
git_config_free(cfg);