Skip to content

Commit 08ec2d1

Browse files
dschomjcheetham
authored andcommitted
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 14a9204 + 8fb2552 commit 08ec2d1

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
@@ -19,6 +19,7 @@
1919
#include "gettext.h"
2020
#define SECURITY_WIN32
2121
#include <sspi.h>
22+
#include "../write-or-die.h"
2223
#include "../repository.h"
2324

2425
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3401,6 +3402,7 @@ int wmain(int argc, const wchar_t **wargv)
34013402
#endif
34023403

34033404
maybe_redirect_std_handles();
3405+
fsync_object_files = 1;
34043406

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

0 commit comments

Comments
 (0)