diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-27 23:50:04 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-27 23:50:04 +0100 |
commit | 9c9cdff966cc181296f400769d3c8596f17e743a (patch) | |
tree | ddd60f794c193e1a407e78b5ca94d0a83466fd78 /tree.go | |
parent | 1e74b17f05ad27818df39818a0d22107a0b4b424 (diff) | |
parent | 31f920a06aa5d7e7cf363645dac02f6e798fffb1 (diff) | |
download | go-git-9c9cdff966cc181296f400769d3c8596f17e743a.tar.gz |
Merge pull request #37 from scjalliance/objfile-format
Added support for objfile format
Diffstat (limited to 'tree.go')
-rw-r--r-- | tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ func (t *Tree) Decode(o core.Object) (err error) { if err != nil { return err } - defer close(reader, &err) + defer checkClose(reader, &err) r := bufio.NewReader(reader) for { |