File tree Expand file tree Collapse file tree
src/main/java/org/variantsync/diffdetective/analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323import org .variantsync .diffdetective .diff .result .DiffError ;
2424import org .variantsync .diffdetective .metadata .Metadata ;
2525import org .variantsync .diffdetective .parallel .ScheduledTasksIterator ;
26- import org .variantsync .diffdetective .util .Assert ;
27- import org .variantsync .diffdetective .util .Clock ;
28- import org .variantsync .diffdetective .util .Diagnostics ;
29- import org .variantsync .diffdetective .util .InvocationCounter ;
26+ import org .variantsync .diffdetective .util .*;
3027import org .variantsync .diffdetective .variation .DiffLinesLabel ;
3128import org .variantsync .diffdetective .variation .diff .Time ;
3229import org .variantsync .diffdetective .variation .diff .VariationDiff ;
@@ -495,6 +492,9 @@ protected void processCommitBatch(List<RevCommit> commits) throws Exception {
495492 }
496493 } finally {
497494 runReverseHook (batchHook , Hooks ::endBatch );
495+
496+ // export the thread's result
497+ getResult ().exportTo (FileUtils .addExtension (outputFile , Analysis .EXTENSION ));
498498 }
499499 }
500500
Original file line number Diff line number Diff line change @@ -183,7 +183,6 @@ public void endCommit(Analysis analysis) {
183183 public void endBatch (Analysis analysis ) throws IOException {
184184 // shutdown; report total time; export results
185185 analysis .get (RESULT ).runtimeInSeconds = totalTime .getPassedSeconds ();
186- analysis .get (RESULT ).exportTo (FileUtils .addExtension (analysis .getOutputFile (), Analysis .EXTENSION ));
187186 exportCommitTimes (commitTimes , FileUtils .addExtension (analysis .getOutputFile (), COMMIT_TIME_FILE_EXTENSION ));
188187 }
189188
You can’t perform that action at this time.
0 commit comments