Commit 1c21d7cb authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

[bot_update] show git protocol version

Bug: 875453
Change-Id: I2ddfc42a2fa79212fe7f9e10c8e81255c0181161
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1530221
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
parent c2f74c16
......@@ -1036,6 +1036,12 @@ def checkout(options, git_slns, specs, revisions, step_text):
ver = git('version').strip()
print 'Using %s' % ver
try:
protocol = git('config', '--get', 'protocol.version')
print 'Using git protocol version %s' % protocol
except SubprocessFailed as e:
print 'git protocol version is not specified.'
first_sln = git_slns[0]['name']
dir_names = [sln.get('name') for sln in git_slns if 'name' in sln]
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment