diff options
author | Carlos Cobo <toqueteos@gmail.com> | 2015-05-29 11:38:46 +0200 |
---|---|---|
committer | Carlos Cobo <toqueteos@gmail.com> | 2015-06-04 16:09:03 +0200 |
commit | b977a025ca21e3b5ca123d8093bd7917694f6da7 (patch) | |
tree | bc036af7f2ca6d8544f852365479b4da15e1f836 /packfile/packfile.go | |
parent | 35b585759cbf29f8ec428ef89da20705d59f99ec (diff) | |
download | go-git-b977a025ca21e3b5ca123d8093bd7917694f6da7.tar.gz |
Remove not used zlib fragment.
NewTree is called with the already deflated contents, there's no need to always fail creating a `zlib.NewReader` and waste memory with a new buffer we are just about to destroy.
Diffstat (limited to 'packfile/packfile.go')
0 files changed, 0 insertions, 0 deletions