Skip to content

Commit cbbfd77

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

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)
@@ -3621,6 +3622,7 @@ int wmain(int argc, const wchar_t **wargv)
36213622
#endif
36223623

36233624
maybe_redirect_std_handles();
3625+
fsync_object_files = 1;
36243626

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

0 commit comments

Comments
 (0)