summaryrefslogtreecommitdiff
path: root/tests-clar/config/stress.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/config/stress.c')
-rw-r--r--tests-clar/config/stress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/config/stress.c b/tests-clar/config/stress.c
index 8cc64d23c..eeca54ff4 100644
--- a/tests-clar/config/stress.c
+++ b/tests-clar/config/stress.c
@@ -10,12 +10,12 @@ void test_config_stress__initialize(void)
{
git_filebuf file = GIT_FILEBUF_INIT;
- cl_git_pass(git_filebuf_open(&file, TEST_CONFIG, 0));
+ cl_git_pass(git_filebuf_open(&file, TEST_CONFIG, 0, 0666));
git_filebuf_printf(&file, "[color]\n\tui = auto\n");
git_filebuf_printf(&file, "[core]\n\teditor = \n");
- cl_git_pass(git_filebuf_commit(&file, 0666));
+ cl_git_pass(git_filebuf_commit(&file));
}
void test_config_stress__cleanup(void)