Skip to content

Commit 01018c4

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 6aa03b1 + 671491d commit 01018c4

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
@@ -21,6 +21,7 @@
2121
#include "gettext.h"
2222
#define SECURITY_WIN32
2323
#include <sspi.h>
24+
#include "../write-or-die.h"
2425
#include "../repository.h"
2526

2627
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3484,6 +3485,7 @@ int wmain(int argc, const wchar_t **wargv)
34843485
#endif
34853486

34863487
maybe_redirect_std_handles();
3488+
fsync_object_files = 1;
34873489

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

0 commit comments

Comments
 (0)