Skip to content

Commit 6bbe581

Browse files
authored
Merge pull request #42248 from apple/revert-41778-silence-envvars
Revert "[utils] update-checkout: Reduce environment variable noise"
2 parents cf2e90b + b4f380d commit 6bbe581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/update_checkout/update_checkout/update_checkout.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ def obtain_additional_swift_sources(pool_args):
284284
(args, repo_name, repo_info, repo_branch, remote, with_ssh, scheme_name,
285285
skip_history, skip_tags, skip_repository_list) = pool_args
286286

287-
env = {'GIT_TERMINAL_PROMPT': '0'}
287+
env = dict(os.environ)
288+
env.update({'GIT_TERMINAL_PROMPT': '0'})
288289

289290
with shell.pushd(args.source_root, dry_run=False, echo=False):
290291

0 commit comments

Comments
 (0)