On Windows, we can actually have files larger than 2 gigabyte, just not using off_t, but off64_t instead. This came up as issue 194 on the msysGit tracker, and as I first brushed the people off saying that it is not an msysGit issue, by way of an apology, I started working on this myself. The first patch adds a test for cloning repositories larger than 2 gigabyte, which is disabled by default, since it is quite expensive (both in terms of time and in terms of space), and since it must fail when the underlying filesystem does not allow files larger than 2 gigabyte. The second patch convinces msysGit (AKA the MinGW port of Git) to make use of the 64-bit file offsets. Johannes Schindelin (2): Add an (optional, since expensive) test for >2g clones MinGW: 64-bit file offsets compat/mingw.c | 8 +++++--- compat/mingw.h | 5 ++++- t/t5705-clone-2gb.sh | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 4 deletions(-) create mode 100755 t/t5705-clone-2gb.sh -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html