summaryrefslogtreecommitdiff
path: root/include/git2
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 /include/git2
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 'include/git2')
-rw-r--r--include/git2/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index f5d37ede4..c909f86ca 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -179,7 +179,7 @@ typedef enum {
GIT_OPT_SET_SSL_CIPHERS,
GIT_OPT_GET_USER_AGENT,
GIT_OPT_ENABLE_OFS_DELTA,
- GIT_OPT_ENABLE_SYNCHRONIZED_OBJECT_CREATION,
+ GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION,
} git_libgit2_opt_t;
/**
@@ -317,7 +317,7 @@ typedef enum {
* > Packfiles containing offset deltas can still be read.
* > This defaults to enabled.
*
- * * opts(GIT_OPT_ENABLE_SYNCHRONIZED_OBJECT_CREATION, int enabled)
+ * * opts(GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION, int enabled)
*
* > Enable synchronized writes of new objects using `fsync`
* > (or the platform equivalent) to ensure that new object data