diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-09-20 17:10:39 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-09-20 17:10:39 +0200 |
commit | 82c7a306db75d083db50dbd41aebebd8bd55081b (patch) | |
tree | ba030e7606f9e8a53ad610bc2101780f66598db5 /plumbing/format/index/encoder.go | |
parent | f69f5304328165153e452382f44aa2b41df36d0f (diff) | |
download | go-git-82c7a306db75d083db50dbd41aebebd8bd55081b.tar.gz |
storage/filesystem: keep packs open in PackfileIter
PackfileIter was not taking into account the option KeepDescriptors
and was always closing the file. This caused "file already closed"
errors when iterating packfiles in with KeepDescriptors active.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'plumbing/format/index/encoder.go')
0 files changed, 0 insertions, 0 deletions