public class RefUtil
extends java.lang.Object
Constructor and Description |
---|
RefUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRefPrefix(java.lang.String refName) |
static org.eclipse.jgit.lib.ObjectId |
parseBaseRevision(org.eclipse.jgit.lib.Repository repo,
com.google.gerrit.reviewdb.client.Project.NameKey projectName,
java.lang.String baseRevision) |
static org.eclipse.jgit.revwalk.RevWalk |
verifyConnected(org.eclipse.jgit.lib.Repository repo,
org.eclipse.jgit.lib.ObjectId revid) |
public static org.eclipse.jgit.lib.ObjectId parseBaseRevision(org.eclipse.jgit.lib.Repository repo, com.google.gerrit.reviewdb.client.Project.NameKey projectName, java.lang.String baseRevision) throws com.google.gerrit.server.project.RefUtil.InvalidRevisionException
com.google.gerrit.server.project.RefUtil.InvalidRevisionException
public static org.eclipse.jgit.revwalk.RevWalk verifyConnected(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.ObjectId revid) throws com.google.gerrit.server.project.RefUtil.InvalidRevisionException
com.google.gerrit.server.project.RefUtil.InvalidRevisionException
public static java.lang.String getRefPrefix(java.lang.String refName)