diff options
author | Edward Thomson <ethomson@github.com> | 2017-02-17 16:42:40 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2017-02-28 13:29:01 +0000 |
commit | 2a5ad7d0f2c28337530855fae250f85123070fcb (patch) | |
tree | 8937abe8ddf537d9cb797dd56d9e9098e3752570 /src/odb_loose.c | |
parent | 1229e1c4d7ea1eb4c5bcd5c0d89bc576053175db (diff) | |
download | libgit2-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 'src/odb_loose.c')
-rw-r--r-- | src/odb_loose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c index 5a80b7a4b..e14af4fab 100644 --- a/src/odb_loose.c +++ b/src/odb_loose.c @@ -844,7 +844,7 @@ static int filebuf_flags(loose_backend *backend) int flags = GIT_FILEBUF_TEMPORARY | (backend->object_zlib_level << GIT_FILEBUF_DEFLATE_SHIFT); - if (backend->fsync_object_files || git_object__synchronized_writing) + if (backend->fsync_object_files || git_object__synchronous_writing) flags |= GIT_FILEBUF_FSYNC; return flags; |