1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix over-greeding matching whilst parsing commit history

Fixes #3006
This commit is contained in:
Nick O'Leary 2021-06-07 18:06:35 +01:00
parent 4140ff03d7
commit 5b1bf35a23
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -291,7 +291,7 @@ function parseLog(log) {
currentCommit = {}
return;
}
var m = /^(.*): (.*)$/.exec(l);
var m = /^(.*?): (.*)$/.exec(l);
if (m) {
// git 2.1.4 (Debian Stable) doesn't support %D for refs - so filter out
if (m[1] === 'refs' && m[2]) {