]> source.dussan.org Git - jgit.git/commitdiff
Preserve ref tombstone when compact top retable stack 85/111685/1
authorMinh Thai <mthai@google.com>
Thu, 16 Nov 2017 06:45:32 +0000 (22:45 -0800)
committerMinh Thai <mthai@google.com>
Thu, 16 Nov 2017 06:47:09 +0000 (22:47 -0800)
Change-Id: I07f5ad572b4642a7cdd76d92aa98f3b6c63d9fa2
Signed-off-by: Minh Thai <mthai@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ReftableBatchRefUpdate.java

index 9713bd55d5797d1ccfbd1eecc5b09541ee0e89b1..fd73e3360af5a65445433d0c23cfaab56d189b73 100644 (file)
@@ -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();