From 60b433cf0b29e12218abbdf36a8d166fc59e7209 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Fri, 8 Jan 2021 00:10:41 +0000 Subject: [PATCH] Enable packfile offloading on all builders R=ehmaldonado@chromium.org Bug: 1136986 Change-Id: I012f0d29589460b8cc7809c9c011811dff476a02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2616898 Reviewed-by: Edward Lesmes Commit-Queue: Josip Sokcevic --- .../recipe_modules/bot_update/resources/bot_update.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes/recipe_modules/bot_update/resources/bot_update.py b/recipes/recipe_modules/bot_update/resources/bot_update.py index 7585318dd..f22326a28 100755 --- a/recipes/recipe_modules/bot_update/resources/bot_update.py +++ b/recipes/recipe_modules/bot_update/resources/bot_update.py @@ -681,13 +681,9 @@ def _set_git_config(fn): @functools.wraps(fn) def wrapper(*args, **kwargs): with git_config_if_not_set('user.name', 'chrome-bot'), \ - git_config_if_not_set('user.email', 'chrome-bot@chromium.org'): - if os.getenv('PACKFILE_OFFLOADING') == '1': - with git_config_if_not_set('fetch.uriprotocols', 'https'): - return fn(*args, **kwargs) - - return fn(*args, **kwargs) - + git_config_if_not_set('user.email', 'chrome-bot@chromium.org'), \ + git_config_if_not_set('fetch.uriprotocols', 'https'): + return fn(*args, **kwargs) return wrapper