From 81c7bd6024cf367ea8aac9ede2a78455914a55c8 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 28 Oct 2021 17:59:53 +0200 Subject: [PATCH] mingw: make core.fsyncObjectFiles default explicit Now that we have a `batch` mode, let's be explicit. This is a follow-up to ce4786fc77ce (mingw: change core.fsyncObjectFiles = 1 by default, 2017-09-04) and will most likely have to be squashed into it before upstreaming that patch (after the `batch` fsync mode was upstreamed). Signed-off-by: Johannes Schindelin --- compat/mingw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/mingw.c b/compat/mingw.c index 26802e0c34..4b67c0824b 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -3607,7 +3607,7 @@ int wmain(int argc, const wchar_t **wargv) maybe_redirect_std_handles(); adjust_symlink_flags(); - fsync_object_files = 1; + fsync_object_files = FSYNC_OBJECT_FILES_ON; /* determine size of argv and environ conversion buffer */ maxlen = wcslen(wargv[0]);