summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-15 17:39:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-12-15 17:39:52 (GMT)
commit63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf (patch)
tree0cfc19ce4bca50ffd40f2e8588d91706d37527e2 /environment.c
parentaa5937d2d9a52512133027ccd556083aad8bfedc (diff)
parent412e4caee387d825903bf1252aefbd5cf995a599 (diff)
downloadgit-63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf.zip
git-63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf.tar.gz
git-63a2e8b41e478a86fd98f86fe67b6f6d5b15f8cf.tar.bz2
Merge branch 'ew/test-wo-fsync'
Allow running our tests while disabling fsync. * ew/test-wo-fsync: tests: disable fsync everywhere
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 9da7f3c..0d06a31 100644
--- a/environment.c
+++ b/environment.c
@@ -42,6 +42,7 @@ const char *git_hooks_path;
int zlib_compression_level = Z_BEST_SPEED;
int pack_compression_level = Z_DEFAULT_COMPRESSION;
int fsync_object_files;
+int use_fsync = -1;
size_t packed_git_window_size = DEFAULT_PACKED_GIT_WINDOW_SIZE;
size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT;
size_t delta_base_cache_limit = 96 * 1024 * 1024;