зеркало из https://github.com/microsoft/git.git
Merge branch 'fsync-object-files-always'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Коммит
08ec2d1539
|
@ -19,6 +19,7 @@
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#define SECURITY_WIN32
|
#define SECURITY_WIN32
|
||||||
#include <sspi.h>
|
#include <sspi.h>
|
||||||
|
#include "../write-or-die.h"
|
||||||
#include "../repository.h"
|
#include "../repository.h"
|
||||||
|
|
||||||
#define HCAST(type, handle) ((type)(intptr_t)handle)
|
#define HCAST(type, handle) ((type)(intptr_t)handle)
|
||||||
|
@ -3401,6 +3402,7 @@ int wmain(int argc, const wchar_t **wargv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
maybe_redirect_std_handles();
|
maybe_redirect_std_handles();
|
||||||
|
fsync_object_files = 1;
|
||||||
|
|
||||||
/* determine size of argv and environ conversion buffer */
|
/* determine size of argv and environ conversion buffer */
|
||||||
maxlen = wcslen(wargv[0]);
|
maxlen = wcslen(wargv[0]);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче