-
Jonathan Nieder authored
In git.git commit e4b75d6a1d31 (trace2: rename environment variables to GIT_TRACE2*, 2019-05-19), the GIT_TR2_EVENT environment variable is being renamed to GIT_TRACE2_EVENT. Set both environment variables so that Git versions with and without that change will both write traces to the tr2-event file. The trace2 facility was introduced in Git 2.22.0. rc0 and rc1 use the more cryptic GIT_TR2* name; rc2 and later (and in particular Git 2.22.0 final) will only support GIT_TRACE2*. In a week or so, once this change finishes rolling out to the Googler population, we can simplify "git cl" by only using the modern GIT_TRACE2_EVENT envvar and GIT_TR2* will be lost to history. Change-Id: Iade2ebfd4aff27270688d94514f5f35a4e34a29b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1636277Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Jonathan Nieder <jrn@google.com>
9779b146