summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.feature/.gitignore
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2023-09-28 15:06:40 -0700
committerIvan Frade <ifrade@google.com>2023-09-28 15:06:40 -0700
commit42917767f9bfe42218e0069d1eed259460c3972e (patch)
tree864f34af0f8c506b8377a5ab227dbebb2d044016 /org.eclipse.jgit.packaging/org.eclipse.jgit.feature/.gitignore
parente8955fb506f121f7800eabb02432e19fe66c7761 (diff)
downloadjgit-42917767f9bfe42218e0069d1eed259460c3972e.tar.gz
jgit-42917767f9bfe42218e0069d1eed259460c3972e.zip
UploadPack: Delay freeing refs in sendPack()
Change [1] set refs to null at the beggining of sendPack claiming they are not needed anymore, but they are still used few lines below to hoist referenced objects to the front of the pack. With refs nullified, the hoist doesn't happened. This hasn't caused any problem so far, probably because it is just an optimization and the objects are in the pack anyway. Move the nullification after the hoisting to keep the optimization and save the memory. [1] https://git.eclipse.org/r/c/jgit/jgit/+/161341 Change-Id: I8455249d8482f616af362d3912b718064d473b49
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.feature/.gitignore')
0 files changed, 0 insertions, 0 deletions