]> source.dussan.org Git - jgit.git/commit
blame: Do not update candidate regionList during output 10/25310/2
authorShawn Pearce <spearce@spearce.org>
Sun, 20 Apr 2014 02:59:21 +0000 (19:59 -0700)
committerShawn Pearce <spearce@spearce.org>
Mon, 21 Apr 2014 18:43:02 +0000 (11:43 -0700)
commit6afae79901f7d3fe7598c81f7474bc98c29909b9
tree52db1eda5db12eb12c38250bbe2b17d445a29c89
parent4db7e8f94d3764e4ebdb51fb6f22b75d701bb248
blame: Do not update candidate regionList during output

Instead of updating the candidate's regionList field to iterate
through the linked list of regions, use a special purpose field
in the BlameGenerator. This allows the candidate to be unmodified.

Change-Id: I2cda031b59220ab603ef82050e741ecbbaa1953f
org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java