]> source.dussan.org Git - jgit.git/commit
Always add FileExt to DfsPackDescription 82/11482/1
authorShawn Pearce <sop@google.com>
Tue, 26 Mar 2013 17:57:19 +0000 (13:57 -0400)
committerShawn Pearce <sop@google.com>
Tue, 26 Mar 2013 18:00:57 +0000 (14:00 -0400)
commit7f1c2ec1eb81fa1dfca7bfe55bdfb9e8559dcaa2
treea0151cde86d287fc7b10e6aeef32fcbb3cf90228
parente7669c44e3a414cbe78519afed3ecd7b12bed0a9
Always add FileExt to DfsPackDescription

Instead of forcing the implementation of the DFS backend to handle
making sure the extension bits are set correctly, have the common
callers in JGit set the extension at the same time they supply the
file sizes to the pack description. This simplifies assumptions for
an implementation of the DFS backend.

Change-Id: I55142ad8ea08a3e2e8349f72b3714578eba9c342
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackCompactor.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackParser.java