Class CommitHistory


  • public class CommitHistory
    extends Object
    • Constructor Detail

      • CommitHistory

        public CommitHistory​(List<org.eclipse.jgit.revwalk.RevCommit> commits,
                             Map<org.eclipse.jgit.lib.AnyObjectId,​String> pathsByCommit,
                             String trackedPath)
    • Method Detail

      • getCommits

        public List<org.eclipse.jgit.revwalk.RevCommit> getCommits()
      • getTrackedFilePath

        public String getTrackedFilePath()
        Returns:
        The initial file path that was followed, or else the root path (/) if none was given.
      • trackedFileNameChangeFor

        public String trackedFileNameChangeFor​(org.eclipse.jgit.lib.AnyObjectId commitId)