The function was incorrectly treating lines like '+++counter;' or '---counter;' as diff file headers and skipping them. This happened when code containing ++ or -- operators at the start of a line was added or removed. Fixed by checking that file header lines (--- a/file, +++ b/file) contain a space after the --- or +++ prefix, distinguishing them from code changes. Added test cases to verify the fix handles these edge cases correctly. Co-authored-by: nate <nate@continue.dev> |
||
|---|---|---|
| .. | ||
| cli | ||
| intellij | ||
| vscode | ||