diff --git a/src/patch/parse.ts b/src/patch/parse.ts index 97fb533d..8505d754 100644 --- a/src/patch/parse.ts +++ b/src/patch/parse.ts @@ -142,6 +142,7 @@ const hunkLinetypes: { "\\": "pragma", // Treat blank lines as context undefined: "context", + "\r": "context", } function parsePatchLines(