]> source.dussan.org Git - jgit.git/commit
Implement wasDeltaAttempted() in DfsObjectRepresentation. 13/7213/1
authorColby Ranger <cranger@google.com>
Mon, 13 Aug 2012 22:54:06 +0000 (15:54 -0700)
committerColby Ranger <cranger@google.com>
Mon, 13 Aug 2012 22:54:06 +0000 (15:54 -0700)
commitb777d7797d6fbb36f8bfeb6b018c2d0cbf0477e0
treece13198364e39b7244120a5d63d097a9e87df4d4
parentb77ba049762e4ea3aadb756dad1d06c859bb3fe3
Implement wasDeltaAttempted() in DfsObjectRepresentation.

In DFS, everything is stored in a pack but only objects in a pack with
source GC or UNREACHABLE_GARBAGE have had delta compression attempted.
Expose the PackSource setter and getter on DfsPackDescription in order
to implement wasDeltaAttempted.

Change-Id: Ie949f321147ad870f1c3f23b552343bbbda32152
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsObjectRepresentation.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsPackDescription.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java