@Test public void testGetChanges() throws SourceControlException { ChangeScope<Change> changeScope = gitRepository.getChanges("fc776fe5e50", "e6f7c3d2954d6"); assertNotNull(changeScope); assertTrue(changeScope.getAllAffectedClasses().size() > 0); }
@Override public ChangeScope<Change> getChanges(String fromRev, String toRev) throws SourceControlException { RevisionScope<ObjectId> revisionScope = revisionResolver.resolve(fromRev, toRev); return getChangeScopeResolver(revisionScope.getFrom(), revisionScope.getTo()).getChangeScope(revisionScope); }
GitRepository implements GitInterface { @Override public ChangeScope<Change> getChanges(String fromRev, String toRev) throws SourceControlException { RevisionScope<ObjectId> revisionScope = revisionResolver.resolve(fromRev, toRev); return getChangeScopeResolver(revisionScope.getFrom(), revisionScope.getTo()).getChangeScope(revisionScope); } }
GitRepository implements GitInterface { @Override public ChangeScope<Change> getChanges(String fromRev, String toRev) throws SourceControlException { RevisionScope<ObjectId> revisionScope = revisionResolver.resolve(fromRev, toRev); return getChangeScopeResolver(revisionScope.getFrom(), revisionScope.getTo()).getChangeScope(revisionScope); } GitRepository(String repositoryPath, SourceControlFilter... filters);  GitRepository(String repositoryPath, boolean useCliDiff, SourceControlFilter... filters); }
GitRepository implements GitInterface { @Override public ChangeScope<Change> getChanges(String fromRev, String toRev) throws SourceControlException { RevisionScope<ObjectId> revisionScope = revisionResolver.resolve(fromRev, toRev); return getChangeScopeResolver(revisionScope.getFrom(), revisionScope.getTo()).getChangeScope(revisionScope); } GitRepository(String repositoryPath, SourceControlFilter... filters);  GitRepository(String repositoryPath, boolean useCliDiff, SourceControlFilter... filters); @Override ChangeScope<Change> getChanges(String fromRev, String toRev); ChangeScopeResolver getChangeScopeResolver(ObjectId fromCommit, ObjectId toCommit); @Override Set<RevInfo> getJiraSet(String packagePath, List<Integer> lineNumbers); static Repository buildRepository(String repositoryPath); }
GitRepository implements GitInterface { @Override public ChangeScope<Change> getChanges(String fromRev, String toRev) throws SourceControlException { RevisionScope<ObjectId> revisionScope = revisionResolver.resolve(fromRev, toRev); return getChangeScopeResolver(revisionScope.getFrom(), revisionScope.getTo()).getChangeScope(revisionScope); } GitRepository(String repositoryPath, SourceControlFilter... filters);  GitRepository(String repositoryPath, boolean useCliDiff, SourceControlFilter... filters); @Override ChangeScope<Change> getChanges(String fromRev, String toRev); ChangeScopeResolver getChangeScopeResolver(ObjectId fromCommit, ObjectId toCommit); @Override Set<RevInfo> getJiraSet(String packagePath, List<Integer> lineNumbers); static Repository buildRepository(String repositoryPath);  }