MrWangJustToDo / git-diff-view

A Diff View component for React / Vue, just like Github
https://mrwangjusttodo.github.io/git-diff-view/
MIT License
335 stars 11 forks source link

git diff bug #5

Open congziqi77 opened 2 months ago

congziqi77 commented 2 months ago

https://mrwangjusttodo.github.io/git-diff-view/?type=try&tab=git 基于Demo能够复现 diff.txt

会有Expected unified diff line but reached end of diff的报错。diff的最后两行是删除空白行,去除这两行就可以正常使用了。