From 54b4bc8201c039ff690498effe725027102f67f9 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Wed, 22 Aug 2018 12:56:47 -0700 Subject: gen-changelog: git update incresed length of "short" hashes --- scripts/changelog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/changelog.js b/scripts/changelog.js index 4f821dbf6..649383718 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -75,7 +75,7 @@ function main () { /* eslint no-cond-assign:0 */ if (/^---$/.test(line)) { printCommit(commit) - } else if (m = line.match(/^([a-f0-9]{7,9}) ([a-f0-9]+) (?:[(]([^)]+)[)] )?(.*?) [(](.*?)[)]/)) { + } else if (m = line.match(/^([a-f0-9]{7,10}) ([a-f0-9]+) (?:[(]([^)]+)[)] )?(.*?) [(](.*?)[)]/)) { commit = { shortid: m[1], fullid: m[2], -- cgit v1.2.3