Skip to content

Commit 8dc6934

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
mingw: make core.fsyncObjectFiles default explicit
Now that we have a `batch` mode, let's be explicit. This is a follow-up to ce4786f (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 <[email protected]>
1 parent d86f0ef commit 8dc6934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3603,7 +3603,7 @@ int wmain(int argc, const wchar_t **wargv)
36033603

36043604
maybe_redirect_std_handles();
36053605
adjust_symlink_flags();
3606-
fsync_object_files = 1;
3606+
fsync_object_files = FSYNC_OBJECT_FILES_ON;
36073607

36083608
/* determine size of argv and environ conversion buffer */
36093609
maxlen = wcslen(wargv[0]);

0 commit comments

Comments
 (0)