From f3897ac6c3fa0f62f013d44220448018715c7aa8 Mon Sep 17 00:00:00 2001 From: Minh Thai Date: Wed, 15 Nov 2017 22:45:32 -0800 Subject: Preserve ref tombstone when compact top retable stack Change-Id: I07f5ad572b4642a7cdd76d92aa98f3b6c63d9fa2 Signed-off-by: Minh Thai --- .../org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.2.3