Skip to content

Commit d4a5000

Browse files
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents a097656 + 7135f7f commit d4a5000

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)
@@ -3464,6 +3465,7 @@ int wmain(int argc, const wchar_t **wargv)
34643465
#endif
34653466

34663467
maybe_redirect_std_handles();
3468+
fsync_object_files = 1;
34673469

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

0 commit comments

Comments
 (0)