Skip to content

Commit

Permalink
gen-changelog: git update incresed length of "short" hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna authored and zkat committed Aug 22, 2018
1 parent f5eed2e commit 54b4bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 54b4bc8

Please sign in to comment.