diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-01-10 17:23:07 +0100 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-01-11 18:03:53 +0100 |
commit | 39292679f27a44e03eede16578e5e6bf82fb9e20 (patch) | |
tree | e1d85219c10892c7e4ace92614607d23ac0d522b /plumbing/reference_test.go | |
parent | 2547d1d9aa16b7c93b677bb63d8b8daea55d7e86 (diff) | |
download | go-git-39292679f27a44e03eede16578e5e6bf82fb9e20.tar.gz |
Clean reconstructed objects outside pack window
Object walk reconstructs delta objects but these are not cleaned up
after they got out the pack window. Without this change all
reconstructed objects reside in memory.
restoreOriginal call is moved before calling Size(). Now we can not
guarantee that the object is already undeltified.
Signed-off-by: Javi Fontan <javier@sourced.tech>
Diffstat (limited to 'plumbing/reference_test.go')
0 files changed, 0 insertions, 0 deletions