From ebba8d75bf65250198a1f5c84295e119129915bd Mon Sep 17 00:00:00 2001 From: Erik Chen Date: Sat, 26 Oct 2019 00:26:58 +0000 Subject: [PATCH] Add more tracing to git cache. Change-Id: Iad21c3fa60f563f479ad0a0cadcfd8c1beb2fcc0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1881910 Auto-Submit: Erik Chen Commit-Queue: Andrii Shyshkalov Reviewed-by: Andrii Shyshkalov --- git_cache.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/git_cache.py b/git_cache.py index dba50f5efe..772dbea126 100755 --- a/git_cache.py +++ b/git_cache.py @@ -555,8 +555,10 @@ class Mirror(object): env = os.environ.copy() env.update({ 'GIT_TRACE_PACKET': '1', - 'GIT_TRACE_PERFORMANCE': '1', - 'GIT_TRACE_SETUP': '1' + 'GIT_TR2_EVENT': '1', + 'GIT_TRACE2_EVENT': '1', + 'GIT_TRACE_CURL': '1', + 'GIT_TRACE_CURL_NO_DATA': '1' }) # Only print first 30000 packets. We can use nonlocal keyword once we # switch to python 3.