summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2025-08-13 00:07:29 -0700
committerGavin Mak <gavinmak@google.com>2025-08-13 23:16:55 -0700
commit3e6acf2778b533aedb2a1f6f6e3a3159e0b8c86d (patch)
tree43279ccd9542c3844e09c810144734a584c8f4cb /git_superproject.py
parenta6e1a59ac16b294962a9d06f9ed67d78cf74ccd5 (diff)
downloadgit-repo-3e6acf2778b533aedb2a1f6f6e3a3159e0b8c86d.tar.gz
progress: Fix race condition causing fileno crash
A race condition occurs when sync redirects sys.stderr to capture worker output, while a background progress thread simultaneously calls fileno() on it. This causes an io.UnsupportedOperation error. Fix by caching the original sys.stderr for all progress bar IO. Change-Id: Idb1f45d707596d31238a19fd373cac3bf669c405 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/498121 Tested-by: Gavin Mak <gavinmak@google.com> Reviewed-by: Scott Lee <ddoman@google.com>
Diffstat (limited to 'git_superproject.py')
0 files changed, 0 insertions, 0 deletions