squash! msysgit: Add the --large-address-aware linker directive to the makefile.
commit0d812d65fc0db863a917a098d66cfacc257df2bd
authorPierre le Riche <github@pleasedontspam.me>
Mon, 28 May 2012 07:46:54 +0000 (28 09:46 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 29 May 2012 00:46:37 +0000 (28 19:46 -0500)
treeabb8214e5fe993153e8ec6d5ac48e96d11f6b87e
parent5fdb6263e8cf10035d5d75be3ca460acb913df8c
squash! msysgit: Add the --large-address-aware linker directive to the makefile.

Use this commit message, rewrapped to 76 columns:
msysgit: Add the --large-address-aware linker directive to the makefile.

This has the effect of increasing the address space from 2GB to 4GB under
64-bit Windows, reducing the likelihood of an "out of memory" error when
e.g.  repacking a large repository.  The test suite passes with this
patch, with and without the MEM_TOP_DOWN flag added to all VirtualAlloc
calls.  While this is no guarantee that there are no issues with large
memory support (it could break Git on other setups than mine, for
example), it at least increases the chance that nothing obvious goes wrong
(such as errors introduced by faulty sign extension, say, with ssize_t).

[PT: Resolves github issue #12]

Signed-off-by: Pierre le Riche <github@pleasedontspam.me>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>