]> source.dussan.org Git - jgit.git/commit
Restore checkObjectCollisions flag 72/49472/2
authorDavid Pletcher <dpletcher@google.com>
Thu, 4 Jun 2015 18:48:32 +0000 (11:48 -0700)
committerDavid Pletcher <dpletcher@google.com>
Thu, 4 Jun 2015 20:26:36 +0000 (13:26 -0700)
commitc06620882b8f37508261425a69533a8410eaf1af
tree6d9103994f4e976a9c2e9833dbffa0ba4ff8c22d
parent6227b340d33700bd3afe33cb0beacc286c0d4105
Restore checkObjectCollisions flag

I am developing an offline pack verification feature based on
PackParser. The birthday collision check is a prohibitive obstacle
to performance at scale because it interacts with the repository
to perform collision checks. This CL restores the checkObjectCollisions
flag that was removed in 9638e0aa87614a6fb4f109bbeac0cde3462b9769,
while changing the flag getter and setter to protected from public as a
precaution against misuse.

Change-Id: I363cd0c9de57c5e8659cdfe2d51b17823f4fe793
Signed-off-by: David Pletcher <dpletcher@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java