mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[gclient_scm] Disable gclient auto config on Windows
Bug: b/328682976 Change-Id: Ic096807302d8d345435c8913d84913aafba3d4d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6367721 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Allen Li <ayatane@chromium.org>
This commit is contained in:
@@ -1368,7 +1368,9 @@ class GitWrapper(SCMWrapper):
|
||||
gclient_utils.safe_makedirs(parent_dir)
|
||||
|
||||
# Set up Git authentication configuration that is needed to clone/fetch the repo.
|
||||
if newauth.Enabled():
|
||||
#
|
||||
# Disabled on Windows
|
||||
if newauth.Enabled() and os.name != 'nt':
|
||||
# We need the host from the URL to determine auth settings.
|
||||
# The url parameter might have been re-written to a local
|
||||
# cache directory, so we need self.url, which contains the
|
||||
|
||||
Reference in New Issue
Block a user