Sun Sep 28 2025
tucker <tucker@pangolin.lan>
The line that starts with "merge" was not expected, and it threw off the line numbers that I was expecting before.
4c0630ec2a943d540dde8716e2a075a4a140d8b0
54
55
const author = currentPatch[1].replace("Author: ", "").trim()
const date = currentPatch[2].replace("Date: ", "").trim()
54
55
56
57
58
59
60
61
62
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()
}
})