diff options
author | Santiago M. Mola <santi@mola.io> | 2017-07-07 11:10:37 +0200 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-07-07 11:10:37 +0200 |
commit | 6506d377f7dc70b72d7454f5901d8199023dd8ed (patch) | |
tree | 96dacfe133ae23d5c200b62c78dcd16306c3a7f6 /plumbing/transport/common_test.go | |
parent | 22d8c7082f547acdc245fd836c1962583c0c87a1 (diff) | |
download | go-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