Commit 6cd32fd 1 parent d121e62 commit 6cd32fd Copy full SHA for 6cd32fd
File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -746,6 +746,7 @@ class GitCommandManager {
746
746
'--raw',
747
747
'--cc',
748
748
'--no-renames',
749
+ '--no-abbrev',
749
750
`--format=%H%n%T%n%P%n%G?%n%s%n%b%n${endOfBody}`,
750
751
ref
751
752
]);
@@ -761,7 +762,7 @@ class GitCommandManager {
761
762
subject: detailLines[4],
762
763
body: detailLines.slice(5, endOfBodyIndex).join('\n'),
763
764
changes: lines.slice(endOfBodyIndex + 2, -1).map(line => {
764
- const change = line.match(/^:(\d{6}) (\d{6}) \w{7 } \w{7 } ([AMD])\s+(.*)$/);
765
+ const change = line.match(/^:(\d{6}) (\d{6}) \w{40 } \w{40 } ([AMD])\s+(.*)$/);
765
766
if (change) {
766
767
return {
767
768
mode: change[3] === 'D' ? change[1] : change[2],
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ export class GitCommandManager {
160
160
'--raw' ,
161
161
'--cc' ,
162
162
'--no-renames' ,
163
+ '--no-abbrev' ,
163
164
`--format=%H%n%T%n%P%n%G?%n%s%n%b%n${ endOfBody } ` ,
164
165
ref
165
166
] )
@@ -177,7 +178,7 @@ export class GitCommandManager {
177
178
body : detailLines . slice ( 5 , endOfBodyIndex ) . join ( '\n' ) ,
178
179
changes : lines . slice ( endOfBodyIndex + 2 , - 1 ) . map ( line => {
179
180
const change = line . match (
180
- / ^ : ( \d { 6 } ) ( \d { 6 } ) \w { 7 } \w { 7 } ( [ A M D ] ) \s + ( .* ) $ /
181
+ / ^ : ( \d { 6 } ) ( \d { 6 } ) \w { 40 } \w { 40 } ( [ A M D ] ) \s + ( .* ) $ /
181
182
)
182
183
if ( change ) {
183
184
return {
You can’t perform that action at this time.
0 commit comments