]> source.dussan.org Git - jgit.git/commit
jgit: Add DfsBundleWriter 90/156490/3
authorMasaya Suzuki <masayasuzuki@google.com>
Fri, 24 Jan 2020 00:47:40 +0000 (16:47 -0800)
committerMasaya Suzuki <masayasuzuki@google.com>
Thu, 3 Sep 2020 22:58:37 +0000 (22:58 +0000)
commit9d2055152c1315819839988e44e030a63977e93c
tree8b0bf44c5d9b66987a1ebc11b6cd39ebee9417e2
parent957419610ad1af3791ff0c279bbc7cbadabd810d
jgit: Add DfsBundleWriter

DfsBundleWriter writes out the entire repository to a Git bundle file.
It packs all objects included in the packfile by concatenating all pack
files. This makes the bundle creation fast and cheap. Useful for backing
up a repository as-is.

Change-Id: Iee20e4b1ab45b2a178dde8c72093c0dd83f04805
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBundleWriterTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBundleWriter.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BundleWriter.java