diff --git a/extensions/git-extended/src/common/diff.ts b/extensions/git-extended/src/common/diff.ts index cfa4d1b223f00e6b2090d6b9141e26e1e656811c..a42a101622ad8f29f16bf7354162d00d54a8a80d 100644 --- a/extensions/git-extended/src/common/diff.ts +++ b/extensions/git-extended/src/common/diff.ts @@ -184,6 +184,8 @@ async function parseModifiedHunkFast(modifyDiffInfo, a, b) { right.push(diffLine.text); } } + + diffHunkIter = diffHunkReader.next(); } let contentPath = await writeTmpFile(right.join('\n'), path.extname(b));