aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/common_test.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-07-07 11:10:37 +0200
committerSantiago M. Mola <santi@mola.io>2017-07-07 11:10:37 +0200
commit6506d377f7dc70b72d7454f5901d8199023dd8ed (patch)
tree96dacfe133ae23d5c200b62c78dcd16306c3a7f6 /plumbing/transport/common_test.go
parent22d8c7082f547acdc245fd836c1962583c0c87a1 (diff)
downloadgo-git-6506d377f7dc70b72d7454f5901d8199023dd8ed.tar.gz
transport/file: avoid race with Command.Wait, fixes #463
Pipe returned by Command.StderrPipe() has a race with Read and Command.Wait(). We use a io.Pipe() instead and ensure it is closed after Wait().
Diffstat (limited to 'plumbing/transport/common_test.go')
0 files changed, 0 insertions, 0 deletions