]> source.dussan.org Git - jgit.git/commit
reftable: add maxUpdateIndex to Reftable 70/149170/9
authorHan-Wen Nienhuys <hanwen@google.com>
Sun, 8 Sep 2019 16:02:05 +0000 (18:02 +0200)
committerHan-Wen Nienhuys <hanwen@google.com>
Thu, 19 Sep 2019 16:32:20 +0000 (18:32 +0200)
commit33dc08c162f60acd4d803c721f78c64ddf194be9
tree6343cbd5f1b06461853a7ad46d93bc4e8273cae5
parenta793be2111c9597975911217b92dfe133e9b96fc
reftable: add maxUpdateIndex to Reftable

This makes maxUpdateIndex() available in MergedReftable, so we can
know generically at which index to create the next reftable in a
stack.

Change-Id: Ia2314bc57c8b5dd7e69d5e61096fdce1d35abd11
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/MergedReftable.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/Reftable.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/ReftableReader.java