Skip to content

Commit 227975c

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 dba870d commit 227975c

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
@@ -3607,7 +3607,7 @@ int wmain(int argc, const wchar_t **wargv)
36073607

36083608
maybe_redirect_std_handles();
36093609
adjust_symlink_flags();
3610-
fsync_object_files = 1;
3610+
fsync_object_files = FSYNC_OBJECT_FILES_ON;
36113611

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

0 commit comments

Comments
 (0)