Package com.google.gerrit.server.project
Class RefUtil
java.lang.Object
com.google.gerrit.server.project.RefUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetRefPrefix(String refName) static StringnormalizeTagRef(String tag) Fully qualifies a tag name to refs/tags/TAG-NAMEstatic org.eclipse.jgit.lib.ObjectIdparseBaseRevision(org.eclipse.jgit.lib.Repository repo, String baseRevision) static org.eclipse.jgit.revwalk.RevWalkverifyConnected(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.ObjectId baseRevision) 
- 
Method Details- 
parseBaseRevisionpublic static org.eclipse.jgit.lib.ObjectId parseBaseRevision(org.eclipse.jgit.lib.Repository repo, String baseRevision) throws UnprocessableEntityException, IOException 
- 
verifyConnectedpublic static org.eclipse.jgit.revwalk.RevWalk verifyConnected(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.ObjectId baseRevision) throws BadRequestException, UnprocessableEntityException, IOException 
- 
getRefPrefix
- 
normalizeTagRefFully qualifies a tag name to refs/tags/TAG-NAME- Throws:
- BadRequestException
 
 
-