File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ class GitCommandManager {
704
704
parents: detailLines[2].split(' '),
705
705
subject: detailLines[3],
706
706
body: detailLines.slice(4, endOfBodyIndex).join('\n'),
707
- changes: lines.slice(endOfBodyIndex + 1 + 1 , -1).map(line => {
707
+ changes: lines.slice(endOfBodyIndex + 2 , -1).map(line => {
708
708
const change = line.match(/^:\d{6} (\d{6}) \w{7} \w{7} ([AMD])\s+(.*)$/);
709
709
if (change) {
710
710
return {
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export class GitCommandManager {
171
171
parents : detailLines [ 2 ] . split ( ' ' ) ,
172
172
subject : detailLines [ 3 ] ,
173
173
body : detailLines . slice ( 4 , endOfBodyIndex ) . join ( '\n' ) ,
174
- changes : lines . slice ( endOfBodyIndex + 1 + 1 , - 1 ) . map ( line => {
174
+ changes : lines . slice ( endOfBodyIndex + 2 , - 1 ) . map ( line => {
175
175
const change = line . match ( / ^ : \d { 6 } ( \d { 6 } ) \w { 7 } \w { 7 } ( [ A M D ] ) \s + ( .* ) $ / )
176
176
if ( change ) {
177
177
return {
You can’t perform that action at this time.
0 commit comments