diff options
author | John Keeping <john@keeping.me.uk> | 2013-01-20 13:15:37 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-24 19:32:35 -0800 |
commit | d04c94a2ea21cb218b43be192d8569c0e669d080 (patch) | |
tree | 734e9f937c584d98b11f427dda9614ea0a6b266f /git-instaweb.sh | |
parent | git-remote-testpy: hash bytes explicitly (diff) | |
download | tgif-d04c94a2ea21cb218b43be192d8569c0e669d080.tar.xz |
git-remote-testpy: don't do unbuffered text I/O
Python 3 forbids unbuffered I/O in text mode. Change the reading of
stdin in git-remote-testpy so that we read the lines as bytes and then
decode them a line at a time.
This allows us to keep the I/O unbuffered in order to avoid
reintroducing the bug fixed by commit 7fb8e16 (git-remote-testgit: fix
race when spawning fast-import).
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-instaweb.sh')
0 files changed, 0 insertions, 0 deletions