jgit/org.eclipse.jgit
Ivan Frade 6ea888a036 RefDatabase/Ref: Add versioning to reference database
In DFS implementations the reference table can fall out of sync, but
it is not possible to check this situation in the current API.

Add a property to the Refs indicating the order of its updates.  This
version is set only by RefDatabase implementations that support
versioning (e.g reftable based).

Caller is responsible to check if the reference db creates versioned
refs before accessing getUpdateIndex(). E.g:

   Ref ref = refdb.exactRef(...);
   if (refdb.hasVersioning()) {
       ref.getUpdateIndex();
   }

Change-Id: I0d5ec8e8df47c730301b2e12851a6bf3dac9d120
Signed-off-by: Ivan Frade <ifrade@google.com>
2018-12-26 09:42:59 -08:00
..
.settings Silence API error for 3 digit version number in @since tag 2018-12-21 01:30:30 +01:00
META-INF Prepare 5.2.1-SNAPSHOT builds 2018-12-07 01:46:38 +01:00
findBugs
resources/org/eclipse/jgit Merge branch 'stable-5.1' into stable-5.2 2018-12-20 14:02:19 +09:00
src/org/eclipse/jgit RefDatabase/Ref: Add versioning to reference database 2018-12-26 09:42:59 -08:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs
.gitignore
.project
BUILD Bazel: Support building with Java 9 2018-02-07 17:51:35 -05:00
about.html SHA-1: collision detection support 2017-02-28 16:38:43 -08:00
build.properties
plugin.properties
pom.xml Prepare 5.2.1-SNAPSHOT builds 2018-12-07 01:46:38 +01:00