Skip to content

Commit 2d34455

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents b17deb4 + d1eab7d commit 2d34455

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
@@ -18,6 +18,7 @@
1818
#include "gettext.h"
1919
#define SECURITY_WIN32
2020
#include <sspi.h>
21+
#include "../write-or-die.h"
2122
#include "../repository.h"
2223

2324
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3401,6 +3402,7 @@ int wmain(int argc, const wchar_t **wargv)
34013402
#endif
34023403

34033404
maybe_redirect_std_handles();
3405+
fsync_object_files = 1;
34043406

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

0 commit comments

Comments
 (0)