summaryrefslogtreecommitdiff
path: root/tests/refs
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2017-02-17 16:42:40 +0000
committerEdward Thomson <ethomson@github.com>2017-02-28 13:29:01 +0000
commit2a5ad7d0f2c28337530855fae250f85123070fcb (patch)
tree8937abe8ddf537d9cb797dd56d9e9098e3752570 /tests/refs
parent1229e1c4d7ea1eb4c5bcd5c0d89bc576053175db (diff)
downloadlibgit2-2a5ad7d0f2c28337530855fae250f85123070fcb.tar.gz
fsync: call it "synchronous" object writing
Rename `GIT_OPT_ENABLE_SYNCHRONIZED_OBJECT_CREATION` -> `GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION`.
Diffstat (limited to 'tests/refs')
-rw-r--r--tests/refs/create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/refs/create.c b/tests/refs/create.c
index e9630e853..fdbef9f32 100644
--- a/tests/refs/create.c
+++ b/tests/refs/create.c
@@ -22,7 +22,7 @@ void test_refs_create__cleanup(void)
cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_STRICT_OBJECT_CREATION, 1));
cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_STRICT_SYMBOLIC_REF_CREATION, 1));
- cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONIZED_OBJECT_CREATION, 0));
+ cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION, 0));
}
void test_refs_create__symbolic(void)
@@ -323,7 +323,7 @@ void test_refs_create__fsyncs_when_requested(void)
git_refdb *refdb;
git_oid id;
- cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONIZED_OBJECT_CREATION, 1));
+ cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION, 1));
p_fsync__cnt = 0;
git_oid_fromstr(&id, current_master_tip);