Skip to content

Commit 729ba9d

Browse files
committed
installer: do configure some defaults in the system config
This part was unfortunately forgotten in c0fb1e5 (installer: re-generate the system config instead of copying it, 2019-02-19)... As a consequence, settings like the Git LFS configuration failed to be set correctly. This fixes git-for-windows/git#2140. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent abfbbbd commit 729ba9d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

installer/install.iss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,6 +2402,13 @@ begin
24022402
FileCopy(ExpandConstant('{tmp}\gitconfig.system'),AppDir+'\{#MINGW_BITNESS}\etc\gitconfig',True)
24032403
end;
24042404
2405+
{
2406+
Configure some defaults in the system config
2407+
}
2408+
2409+
if not SetSystemConfigDefaults() then
2410+
LogError('Unable to set system config defaults');
2411+
24052412
{
24062413
Configure http.sslBackend according to the user's choice.
24072414
}

0 commit comments

Comments
 (0)