Skip to content

Commit 6a1c45f

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents f16a8c1 + 7fabd87 commit 6a1c45f

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)
@@ -3489,6 +3490,7 @@ int wmain(int argc, const wchar_t **wargv)
34893490
#endif
34903491

34913492
maybe_redirect_std_handles();
3493+
fsync_object_files = 1;
34923494

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

0 commit comments

Comments
 (0)