@@ -270,9 +270,9 @@ begin
270270 Log(' Setting core.fileMode on repository: ' + CmdLine);
271271 DoCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingFileMode' ), CmdLine);
272272
273- Log(' Setting core.fileMode on repository for submodules: ' + CmdLine);
274273 CmdLine := GitExecutablePath + ' -C ' + Path + ' submodule foreach --recursive git config --local core.fileMode false' ;
275- DoCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingFileModeInSubmodules' ), CmdLine);
274+ Log(' Setting core.fileMode on repository for submodules: ' + CmdLine);
275+ PerformCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingFileModeInSubmodules' ), CmdLine);
276276end ;
277277
278278{ Run git reset --hard in the repo and in the submodules, to fix the newlines. }
@@ -289,9 +289,9 @@ begin
289289 Log(' Resetting the repository: ' + CmdLine);
290290 DoCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingNewLines' ), CmdLine);
291291
292- Log(' Resetting the submodules: ' + CmdLine);
293292 CmdLine := GitExecutablePath + ' -C ' + Path + ' submodule foreach git reset --hard' ;
294- DoCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingNewLinesInSubmodules' ), CmdLine);
293+ Log(' Resetting the submodules: ' + CmdLine);
294+ PerformCmdlineInstall(CustomMessage(' FinishingEspIdfInstallation' ), CustomMessage(' UpdatingNewLinesInSubmodules' ), CmdLine);
295295end ;
296296
297297{ Run git clean - clean leftovers after switching between tags }
0 commit comments