Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix zlib invalid header error | Alberto Cortés | 2016-01-27 | 1 | -0/+68 |
| | | | | | The return value of reads to the packfile were being ignored, so zlib was getting invalid data on it read buffers. | ||||
* | Fix commit.File() gorutine leak | Alberto Cortés | 2016-01-21 | 1 | -0/+134 |
Commit.File() was leaking a goroutine because it was looping over an iterator without closing its channel. Now commit.File() calls the new Tree.File() method that searches the file in the repository by trasversing the dir tree instead of using the tree.Files() iterator. This not only prevent the goroutine leak, but also speeds up file searching. |