Explicitly propagate terminal size to gclient hooks.
gclient normally runs hooks in a pseudo terminal which has no sense of the terminal size. If we want hooks to be able to change what they output based on the terminal size, we have to explicitly propagate the terminal size info down through the subprocess environment. Change-Id: I08f7c48ef78ea4eb9f5b791abb2a7e5ef8870050 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6161596 Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Dirk Pranke <dpranke@google.com>changes/96/6161596/3
parent
9801061b06
commit
bf76f3d3ed
Loading…
Reference in New Issue