diff options
author | Xing Huang <xingkhuang@google.com> | 2023-02-06 14:18:59 -0600 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2023-02-07 16:59:56 -0500 |
commit | df5b7959bedd43443244247a35a690fa9db66442 (patch) | |
tree | 6c2c4b4cd3d9b339ada92a0f9d5f9f26354a9c33 /org.eclipse.jgit/resources/org | |
parent | eccae7cf0bb1ffd4425b6961597b28a8510fc42c (diff) | |
download | jgit-df5b7959bedd43443244247a35a690fa9db66442.tar.gz jgit-df5b7959bedd43443244247a35a690fa9db66442.zip |
DfsPackFile/DfsGC: Write commit graphs and expose in pack
JGit knows how to read/write commit graphs but the DFS stack is not
using it yet.
The DFS garbage collector generates a commit-graph with commits
reachable from any ref. The pack is stored as extra stream in the GC
pack. DfsPackFile mimicks how other indices are loaded storing the
reference in DFS cache.
Signed-off-by: Xing Huang <xingkhuang@google.com>
Change-Id: I3f94997377986d21a56b300d8358dd27be37f5de
Diffstat (limited to 'org.eclipse.jgit/resources/org')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/storage/dfs/DfsText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/storage/dfs/DfsText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/storage/dfs/DfsText.properties index 2c4bd06a33..d9d43dc71f 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/storage/dfs/DfsText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/storage/dfs/DfsText.properties @@ -1,4 +1,5 @@ cannotReadIndex=Cannot read index {0} +cannotReadCommitGraph=Cannot read commit graph {0} shortReadOfBlock=Short read of block at {0} in pack {1}; expected {2} bytes, received only {3} shortReadOfIndex=Short read of index {0} willNotStoreEmptyPack=Cannot store empty pack |