Community
Participate
Working Groups
When trying to inspect blame annotations on a file which was renamed before I get an error dialog saying "'Computing blame annotations' has encountered a problem ....". Steps to reproduce: - unpack the attached repo - import the project in the repo into latest EGit - in EGit navigate to /DemoCalc/src/xyz/com/test/Calc.java - rightclick on the file and select "Team->Show blame annotations" -> an error dialog pops up and the error log contains a stacktrace like this: java.lang.IllegalStateException: Renames have already been found. at org.eclipse.jgit.diff.RenameDetector.addAll(RenameDetector.java:245) at org.eclipse.jgit.blame.BlameGenerator.findRename(BlameGenerator.java:948) at org.eclipse.jgit.blame.BlameGenerator.processOne(BlameGenerator.java:589) at org.eclipse.jgit.blame.BlameGenerator.next(BlameGenerator.java:479) at org.eclipse.jgit.blame.BlameResult.computeAll(BlameResult.java:239) at org.eclipse.jgit.blame.BlameGenerator.computeBlameResult(BlameGenerator.java:433) at org.eclipse.jgit.api.BlameCommand.call(BlameCommand.java:220) at org.eclipse.egit.ui.internal.blame.BlameOperation.execute(BlameOperation.java:82) at org.eclipse.egit.ui.internal.job.JobUtil$1.run(JobUtil.java:50) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Created attachment 201320 [details] a repo containing a renamed file
Proposed fix pushed to: http://egit.eclipse.org/r/#change,4118
merged as d110fbc300fe32b00a491e6471d5534f4615b87b