Skip to content

Commit 53668d5

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents bc3770a + 41b699d commit 53668d5

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
@@ -18,6 +18,7 @@
1818
#include "gettext.h"
1919
#define SECURITY_WIN32
2020
#include <sspi.h>
21+
#include "../write-or-die.h"
2122
#include "../repository.h"
2223

2324
#define HCAST(type, handle) ((type)(intptr_t)handle)
@@ -3406,6 +3407,7 @@ int wmain(int argc, const wchar_t **wargv)
34063407
#endif
34073408

34083409
maybe_redirect_std_handles();
3410+
fsync_object_files = 1;
34093411

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

0 commit comments

Comments
 (0)