git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] 2GB fixes for Windows
@ 2009-03-05 16:05 Johannes Schindelin
  2009-03-05 16:05 ` [PATCH 1/2] Add an (optional, since expensive) test for >2g clones Johannes Schindelin
  2009-03-05 16:05 ` [PATCH " Johannes Schindelin
  0 siblings, 2 replies; 10+ messages in thread
From: Johannes Schindelin @ 2009-03-05 16:05 UTC (permalink / raw)
  To: git, gitster; +Cc: Johannes Sixt

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-03-06  9:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 16:05 [PATCH 0/2] 2GB fixes for Windows Johannes Schindelin
2009-03-05 16:05 ` [PATCH 1/2] Add an (optional, since expensive) test for >2g clones Johannes Schindelin
2009-03-05 16:41   ` Jeff King
2009-03-05 16:58     ` Johannes Schindelin
2009-03-05 18:50       ` Jeff King
2009-03-05 23:08   ` Junio C Hamano
2009-03-06  9:48     ` [PATCH v2 1/2] Add an (optional, since expensive) test for >2gb clones Johannes Schindelin
2009-03-06  9:49       ` [PATCH v2 2/2] MinGW: 64-bit file offsets Johannes Schindelin
2009-03-05 16:05 ` [PATCH " Johannes Schindelin
2009-03-05 20:53   ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).