diff --git a/git_auth.py b/git_auth.py index 8ddb63483a..a4f7e467d5 100644 --- a/git_auth.py +++ b/git_auth.py @@ -243,7 +243,7 @@ def AutoConfigure(cwd: str, cl: git_cl.Changelist) -> None: logging.debug( 'Automatically configuring Git repo authentication' ' (current version: %r, latest: %r)', v, latestVer) - ConfigureRepo(cwd, cl) + Configure(cwd, cl) scm.GIT.SetConfig(cwd, 'depot-tools.gitAuthAutoConfigured', str(latestVer)) @@ -278,13 +278,6 @@ def Configure(cwd: str, cl: git_cl.Changelist) -> None: c2.apply(cwd) -def ConfigureRepo(cwd: str, cl: git_cl.Changelist) -> None: - """Configure the current Git repo authentication.""" - logging.debug('Configuring current Git repo authentication...') - c = ConfigChanger.new_from_env(cwd, cl) - c.apply(cwd) - - def ClearRepoConfig(cwd: str, cl: git_cl.Changelist) -> None: """Clear the current Git repo authentication.""" logging.debug('Clearing current Git repo authentication...')