Skip to content

Commit 7553a37

Browse files
authored
Merge pull request #41778 from lorentey/silence-envvars
[utils] update-checkout: Reduce environment variable noise
2 parents 31afb2c + f92d832 commit 7553a37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/update_checkout/update_checkout/update_checkout.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@ 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 = dict(os.environ)
288-
env.update({'GIT_TERMINAL_PROMPT': '0'})
287+
env = {'GIT_TERMINAL_PROMPT': '0'}
289288

290289
with shell.pushd(args.source_root, dry_run=False, echo=False):
291290

0 commit comments

Comments
 (0)