Skip to content

Commit 36007c1

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 9f9d970 + 8584898 commit 36007c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compat/mingw.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include "../trace2.h"
1818
#include "../symlinks.h"
1919
#include "../wrapper.h"
20+
#include "../write-or-die.h"
21+
#include "../repository.h"
2022
#include "../repository.h"
2123
#include "dir.h"
2224
#include "gettext.h"
@@ -3537,6 +3539,7 @@ int wmain(int argc, const wchar_t **wargv)
35373539
#endif
35383540

35393541
maybe_redirect_std_handles();
3542+
fsync_object_files = 1;
35403543

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

0 commit comments

Comments
 (0)