Skip to content

Commit cc588b4

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 4955a57 + cbd02d4 commit cc588b4

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)
@@ -3470,6 +3471,7 @@ int wmain(int argc, const wchar_t **wargv)
34703471
#endif
34713472

34723473
maybe_redirect_std_handles();
3474+
fsync_object_files = 1;
34733475

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

0 commit comments

Comments
 (0)