You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TODO: fix redirection and test!!!
In 64-bit setups it does not make sense to limit the pack size to 2GB.
This fixesgit-for-windows/git#288.
Signed-off-by: Johannes Schindelin <[email protected]>
if FileExists(ProgramData + '\Git\config') then begin
1346
+
#ifdef IS64
1347
+
FileName:=AppDir+'tmp\packsize.txt';
1348
+
if not Exec(AppDir+'\{#MINGW_BITNESS}\bin\git.exe','config -f config pack.packsizelimit >"'+FileName+'"',AppDir,SW_HIDE,ewWaitUntilTerminated,i) then
1349
+
LogError('Unable to read packsize limit')
1350
+
else if not LoadStringFromFile(FileName,PackSizeLimit) then
1351
+
LogError('Unable to read redirected packsize limit')
1352
+
else if (PackSizeLimit='2g'#10) and not Exec(AppDir+'\{#MINGW_BITNESS}\bin\git.exe','config -f config --unset pack.packsizelimit',AppDir,SW_HIDE,ewWaitUntilTerminated,i) then
0 commit comments