Package org.eclipse.egit.core.internal.storage

Examples of org.eclipse.egit.core.internal.storage.GitFileRevision


            continue;
        }

        String encoding = null;

        GitFileRevision compareRev = null;
        if (compareVersionIterator != null) {
          String entryPath = compareVersionIterator.getEntryPathString();
          encoding = CompareCoreUtils.getResourceEncoding(repository, entryPath);
          if (!useIndex)
            compareRev = GitFileRevision.inCommit(repository,
                compareCommit, entryPath,
                tw.getObjectId(compareTreeIndex));
          else
            compareRev = GitFileRevision.inIndex(repository,
                entryPath);
        }

        GitFileRevision baseRev = null;
        if (baseVersionIterator != null) {
          String entryPath = baseVersionIterator.getEntryPathString();
          if (encoding == null) {
            encoding = CompareCoreUtils.getResourceEncoding(repository, entryPath);
          }
View Full Code Here


        if (!conflicting && !modified)
          continue;

        ITypedElement right;
        if (conflicting) {
          GitFileRevision revision = GitFileRevision.inIndex(
              repository, gitPath, DirCacheEntry.STAGE_3);
          String encoding = CompareCoreUtils.getResourceEncoding(
              repository, gitPath);
          right = new FileRevisionTypedElement(revision, encoding);
        } else
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.internal.storage.GitFileRevision

Copyright © 2018 www.massapicom. 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.