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: 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 not Exec(AppDir+'\{#MINGW_BITNESS}\bin\git.exe','config -f config pack.packsizelimit > "'+FileName+'"',SW_HIDE,ewWaitUntilTerminated,i) then begin
1358
+
Msg:='Unable to read packsize limit';
1359
+
1360
+
// This is not a critical error, so just notify the user and continue.
1361
+
SuppressibleMsgBox(Msg,mbError,MB_OK,IDOK);
1362
+
Log(Msg);
1363
+
end else if not LoadStringFromFile(FileName,PackSizeLimit) then begin
1364
+
Msg:='Unable to read redirected packsize limit';
1365
+
// This is not a critical error, so just notify the user and continue.
1366
+
SuppressibleMsgBox(Msg,mbError,MB_OK,IDOK);
1367
+
Log(Msg);
1368
+
end else if (PackSizeLimit='2g\n') and not Exec(AppDir+'\{#MINGW_BITNESS}\bin\git.exe','config -f config --unset pack.packsizelimit',SW_HIDE,ewWaitUntilTerminated,i) then begin
1369
+
Msg:='Unable to unset packsize limit';
1370
+
1371
+
// This is not a critical error, so just notify the user and continue.
0 commit comments