Skip to content

Commit 3149ce0

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents d91eba2 + d0ddfe1 commit 3149ce0

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
@@ -20,6 +20,7 @@
2020
#include "gettext.h"
2121
#define SECURITY_WIN32
2222
#include <sspi.h>
23+
#include "../write-or-die.h"
2324
#include "../repository.h"
2425

2526
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3620,6 +3621,7 @@ int wmain(int argc, const wchar_t **wargv)
36203621
#endif
36213622

36223623
maybe_redirect_std_handles();
3624+
fsync_object_files = 1;
36233625

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

0 commit comments

Comments
 (0)