]> source.dussan.org Git - jgit.git/commit
ReftableCompactor should accept 0 for minUpdateIndex 02/111502/5
authorMinh Thai <mthai@google.com>
Tue, 14 Nov 2017 04:17:16 +0000 (20:17 -0800)
committerMinh Thai <mthai@google.com>
Tue, 14 Nov 2017 18:50:24 +0000 (10:50 -0800)
commit0e5abbfafc22faf132713ec681e74b5b04d6fd2c
tree1635e148b4f8a05f3bdbbe2d3c4540e6f33067e8
parent1a091ff5f93a6d9843abb7f57a0cb7ebee7df511
ReftableCompactor should accept 0 for minUpdateIndex

Do not use 0 as the unset value for minUpdateIndex, as input reftables
may have minUpdateIndex starting at 0.

Change-Id: Ie040a6b73d4a5eba5521e51d0ee4580713c84a3e
Signed-off-by: Minh Thai <mthai@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableCompactorTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/ReftableCompactor.java