mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-22 23:37:25 -05:00
mingw: make core.fsyncObjectFiles default explicit
Now that we have a `batch` mode, let's be explicit.
This is a follow-up to ce4786fc77 (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 <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Victoria Dye
parent
8eeb4adde4
commit
7708aa1b83
@@ -3757,7 +3757,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]);
|
||||
|
||||
Reference in New Issue
Block a user