const m = re.exec(line);
if (m && m[1]) {
if (!additionsByFile.has(currentFile)) {
additionsByFile.set(currentFile, []);
order.push(currentFile);
}
matchedHeader = true;
break;
}
}
if (matchedHeader || !currentFile) {
continue;
}
// '+++' file marker (which V4A doesn't use, but guard anyway).
if (line.startsWith('+') && !line.startsWith('+++')) {
}
}