]> source.dussan.org Git - jgit.git/commit
DfsPackfile: Emit the index load with the index object 33/204233/2
authorIvan Frade <ifrade@google.com>
Fri, 8 Sep 2023 15:20:31 +0000 (08:20 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 8 Sep 2023 15:29:04 +0000 (08:29 -0700)
commit30427485ddfd6fa4b949d42c832d19594ed5885a
tree73175434da171f26f2e0d9e41cab109a1082bcc5
parent3a3b72cf907ee1f3a6c32aa19deeaed72492fdb4
DfsPackfile: Emit the index load with the index object

The DfsReader#emitIndexLoad expects a reference to the loaded object,
not to its identity hash. This makes listeneres recalculate an
identity hash over an Int object.

Pass the expected reference to the method.

Change-Id: Iee982fdd0169c93c5c7cd9cfe4260a7a82d23f6a
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java