gitdiff-parser icon indicating copy to clipboard operation
gitdiff-parser copied to clipboard

`parseDiff` throws exception when these's no diff.

Open bunnyc1986 opened this issue 5 years ago • 1 comments

I am getting exception when the gitDiffText is non-empty but without any changes. For example:

When the gitDiffText is:

Diff between local code and base commit 657e12c36bfbf6029d8067f4d77bd19aee29c4ea (on branch xxx/xxx):
--

I get exception: image

bunnyc1986 avatar Nov 18 '20 21:11 bunnyc1986

I encountered this today as well.

xprazak2 avatar Feb 18 '21 15:02 xprazak2