@@ -223,20 +223,24 @@ def obtain_additional_swift_sources(pool_args):
223223 print ("Cloning '" + repo_name + "'" )
224224
225225 if skip_history :
226- shell .run (['git' , 'clone' , '--recursive' , '--depth' , '1' ,
227- '--branch' , repo_branch , remote , repo_name ],
226+ shell .run (['GIT_TERMINAL_PROMPT=0' , 'git' , 'clone' , '--recursive' ,
227+ '--depth' , '1' , '--branch' ,
228+ repo_branch , remote , repo_name ],
228229 echo = True )
229230 else :
230- shell .run (['git' , 'clone' , '--recursive' , remote ,
231- repo_name ], echo = True )
231+ shell .run (['GIT_TERMINAL_PROMPT=0' , 'git' , 'clone' , '--recursive' ,
232+ remote , repo_name ],
233+ echo = True )
232234 if scheme_name :
233235 src_path = os .path .join (SWIFT_SOURCE_ROOT , repo_name , ".git" )
234- shell .run (['git' , '--git-dir' , src_path , '--work-tree' ,
236+ shell .run (['GIT_TERMINAL_PROMPT=0' , 'git' , '--git-dir' , src_path ,
237+ '--work-tree' ,
235238 os .path .join (SWIFT_SOURCE_ROOT , repo_name ),
236239 'checkout' , repo_branch ], echo = False )
237240 with shell .pushd (os .path .join (SWIFT_SOURCE_ROOT , repo_name ),
238241 dry_run = False , echo = False ):
239- shell .run (["git" , "submodule" , "update" , "--recursive" ],
242+ shell .run (['GIT_TERMINAL_PROMPT=0' , "git" , "submodule" , "update" ,
243+ "--recursive" ],
240244 echo = False )
241245
242246
0 commit comments