Skip to content

Various fixes for Windows

Johannes Sixt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Fix "Out of memory? mmap failed" for files larger than 4GB on Windowscompat/win32mmap.c+3 -30 replies
2/5start_command: close cmd->err descriptor when fork/spawn failsrun-command.c t/t5516-fetch-push.sh+3 -10 replies
3/5Fix checkout of large files to network shares on Windows XPcompat/mingw.c compat/mingw.h t/t5705-clone-2gb.sh+29 -30 replies
4/5mingw: use _commit to implement fsynccompat/mingw.h+1 -10 replies
5/5Recent MinGW has a C99 implementation of snprintf functionsMakefile+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Various fixes for Windows

Here are some unrelated patches that I had accumulated over the past weeks that improve the git experience on Windows.

The first three are maint-worthy and have been cooked long enough. IMO it is safe to put them on maint directly.

Erik Faye-Lund (1):
mingw: use _commit to implement fsync

Ian McLean (1):
Fix "Out of memory? mmap failed" for files larger than 4GB on Windows

Johannes Sixt (1):
Recent MinGW has a C99 implementation of snprintf functions

René Scharfe (1):
Fix checkout of large files to network shares on Windows XP

bert Dvornik (1):
start_command: close cmd->err descriptor when fork/spawn fails

 Makefile              |    1 -
 compat/mingw.c        |   17 +++++++++++++++++
 compat/mingw.h        |    5 ++++-
 compat/win32mmap.c    |    6 +++---
 run-command.c         |    2 ++
 t/t5516-fetch-push.sh |    2 +-
 t/t5705-clone-2gb.sh  |   12 +++++++++---
 7 files changed, 36 insertions(+), 9 deletions(-)