Examples of GitModelRepository


Examples of org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository

    else if (element instanceof GitModelCommit) {
      GitModelCommit modelCommit = (GitModelCommit) element;
      if (!(modelCommit.getParent() instanceof GitModelRepository))
        return null; // should never happen

      GitModelRepository parent = (GitModelRepository) modelCommit.getParent();
      Repository repo = parent.getRepository();
      AbbreviatedObjectId id = modelCommit.getCachedCommitObj().getId();

      commit = new RevWalk(repo).lookupCommit(id.toObjectId());
    }
    return commit;
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.