We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9487daa commit 0c0609cCopy full SHA for 0c0609c
gitdiff/parser.go
@@ -20,6 +20,7 @@ func Parse(r io.Reader) (<-chan *File, error) {
20
out := make(chan *File)
21
22
if err := p.Next(); err != nil {
23
+ close(out)
24
if err == io.EOF {
25
return out, nil
26
}
0 commit comments