Package org.eclipse.jgit.lib

Examples of org.eclipse.jgit.lib.Repository.peel()


    RepositoryCommit repoCommit = getCommit();
    RevCommit commit = repoCommit.getRevCommit();
    Repository repository = repoCommit.getRepository();
    List<Ref> tags = new ArrayList<Ref>();
    for (Ref tag : getTags()) {
      tag = repository.peel(tag);
      ObjectId id = tag.getPeeledObjectId();
      if (id == null)
        id = tag.getObjectId();
      if (!commit.equals(id))
        continue;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.