jgit/org.eclipse.jgit
Ivan Frade 42917767f9 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
2023-09-28 15:06:40 -07:00
..
.settings Remove unused API problem filters 2023-09-05 14:10:30 +02:00
META-INF Use ShutdownHook to gracefully handle JVM shutdown 2023-09-12 22:43:15 +02:00
OSGI-INF/l10n OSGi: move plugin localization to subdirectory 2023-09-12 20:27:59 +02:00
findBugs [spotbugs] Silence NP_BOOLEAN_RETURN_NULL in IgnoreNode#checkIgnored 2020-12-22 10:52:59 +01:00
resources/org/eclipse/jgit WorkingTreeIterator: directly filter input stream 2023-09-25 22:06:13 +02:00
src/org/eclipse/jgit UploadPack: Delay freeing refs in sendPack() 2023-09-28 15:06:40 -07:00
.classpath Bump minimum required Java version to 11 2021-09-29 17:12:12 +02:00
.fbprefs
.gitignore
.project
BUILD CommitGraphWriter: write changed-path filters 2023-07-18 14:21:48 -07:00
about.html
build.properties OSGi: move plugin localization to subdirectory 2023-09-12 20:27:59 +02:00
pom.xml Prepare 6.8.0-SNAPSHOT builds 2023-09-07 02:24:53 +02:00