mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
[git_auth] Emphasize success
People assume the tool has failed and keep trying to re-run it when it says to run git credential-luci login. Bug: 408501013 Change-Id: Id1f671bacfdc19d4614ff03cfa69bfd484ad741b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6441970 Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Commit-Queue: Allen Li <ayatane@chromium.org>
This commit is contained in:
@@ -492,6 +492,8 @@ class ConfigWizard(object):
|
||||
'Looks like we are running outside of a Gerrit repository,')
|
||||
self._println('so we will check your global Git configuration.')
|
||||
self._run_outside_repo()
|
||||
self._println()
|
||||
self._println('Successfully finished auth configuration check.')
|
||||
self._print_actions_for_user()
|
||||
|
||||
def _run_outside_repo(self) -> None:
|
||||
@@ -851,7 +853,9 @@ class ConfigWizard(object):
|
||||
if not self._user_actions:
|
||||
return
|
||||
self._println()
|
||||
self._println('Things you need to do:')
|
||||
self._println(
|
||||
"However, there are some manual actions that are suggested")
|
||||
self._println("(you don't have to re-run this command afterward):")
|
||||
for s in self._user_actions:
|
||||
self._println(f'- {s}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user