diff options
author | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-07 16:02:46 +0100 |
---|---|---|
committer | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-07 16:02:46 +0100 |
commit | b872b71112ed4034bbd9c33a0babd6353b582429 (patch) | |
tree | c77297e16413c308ab8fbb27e8d86f72fffe786a /utils/ioutil/common.go | |
parent | 8d45daf52a46b8b2cd496c9e885a1ac6d78007e3 (diff) | |
download | go-git-b872b71112ed4034bbd9c33a0babd6353b582429.tar.gz |
Fix missing objects if they where deltified using ref-delta
- Deleted invalid logic that returned nil if an ref-delta was not found into the decoder index. This logic was missing objects if it was deltified using ref-deltas.
- Now, to avoid that problem, index is mandatory to decode correctly a packfile of a specific type. Decoder.SetOffsets method now is called into the EncodedObjectIterator to avoid this problem.
Diffstat (limited to 'utils/ioutil/common.go')
0 files changed, 0 insertions, 0 deletions