tucker <tucker@pangolin.lan> | Sun Sep 28 2025
Fix bug where date and author were not found in merge commits The line that starts with "merge" was not expected, and it threw off the line numbers that I was expecting before.
54 55
const author = currentPatch[1].replace("Author: ", "").trim()
const date = currentPatch[2].replace("Date: ", "").trim()54 55
let author, date
[1, 2, 3].forEach((lineNumber) => {
if (currentPatch[lineNumber].startsWith("Author")) {
author = currentPatch[lineNumber].replace("Author: ", "").trim()
}
else if (currentPatch[lineNumber].startsWith("Date")) {
date = currentPatch[lineNumber].replace("Date: ", "").trim()
}
})