]> source.dussan.org Git - jgit.git/commit
CommitGraphWriter: Move path diff calculation to its own class 64/1195564/3
authorIvan Frade <ifrade@google.com>
Fri, 31 May 2024 19:12:57 +0000 (12:12 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 31 May 2024 20:41:04 +0000 (13:41 -0700)
commit37a36201a1999690500e5af7f16fa881a484a0ca
tree15d2ed0d9a59a3bbd1a662f03d0a0fe23b9a77ab
parent48465f84014904edddcdd48258c67bc19555d4c3
CommitGraphWriter: Move path diff calculation to its own class

To verify that we have the right paths between commits we are writing
the bloom filters, reading them and querying. The path diff
calculation is tricky enough for correctness and performance that
should be tested on its own.

Move the path diff calculation to its own class, so we can test it on
its own.

This is a noop refactor so we can verify later the steps taken in the
walk.

Change-Id: Ifbdcb752891c4adb08553802f87287de1155bb7c
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriterTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java