mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-02-24 07:37:28 +08:00
Merge "Check for a cookie file when fetching clone.bundle."
This commit is contained in:
commit
84f7e137c2
@ -1746,6 +1746,9 @@ class Project(object):
|
||||
os.remove(tmpPath)
|
||||
if 'http_proxy' in os.environ and 'darwin' == sys.platform:
|
||||
cmd += ['--proxy', os.environ['http_proxy']]
|
||||
cookiefile = GitConfig.ForUser().GetString('http.cookiefile')
|
||||
if cookiefile:
|
||||
cmd += ['--cookie', cookiefile]
|
||||
cmd += [srcUrl]
|
||||
|
||||
if IsTrace():
|
||||
|
Loading…
Reference in New Issue
Block a user