Skip to content

Commit 6c2f581

Browse files
dschomjcheetham
authored andcommitted
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 410842f + 61b8e4d commit 6c2f581

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/mingw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "gettext.h"
2020
#define SECURITY_WIN32
2121
#include <sspi.h>
22+
#include "../write-or-die.h"
2223
#include "../repository.h"
2324

2425
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3468,6 +3469,7 @@ int wmain(int argc, const wchar_t **wargv)
34683469
#endif
34693470

34703471
maybe_redirect_std_handles();
3472+
fsync_object_files = 1;
34713473

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

0 commit comments

Comments
 (0)