diff options
author | Minh Thai <mthai@google.com> | 2017-11-15 22:45:32 -0800 |
---|---|---|
committer | Minh Thai <mthai@google.com> | 2017-11-15 22:47:09 -0800 |
commit | f3897ac6c3fa0f62f013d44220448018715c7aa8 (patch) | |
tree | d7b193bc63082c301b6dcbb8a38afbb6780f6ad4 | |
parent | 6ec5d8ddb13df9ccc085434bb5598ae89395d90c (diff) | |
download | jgit-f3897ac6c3fa0f62f013d44220448018715c7aa8.tar.gz jgit-f3897ac6c3fa0f62f013d44220448018715c7aa8.zip |
Preserve ref tombstone when compact top retable stack
Change-Id: I07f5ad572b4642a7cdd76d92aa98f3b6c63d9fa2
Signed-off-by: Minh Thai <mthai@google.com>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java index 9713bd55d5..fd73e3360a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java @@ -438,6 +438,7 @@ public class ReftableBatchRefUpdate extends BatchRefUpdate { ReftableCompactor compactor = new ReftableCompactor(); compactor.setConfig(cfg); + compactor.setIncludeDeletes(true); compactor.addAll(tables); compactor.compact(out); return compactor.getStats(); |