Skip to content

Commit 3f641f3

Browse files
committed
Empty diff
1 parent 85aab1f commit 3f641f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DiffVisualizer/FormMain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ private void bwDiff_DoWork(object sender, DoWorkEventArgs e)
101101
List<string> add = new List<string>();
102102
foreach (string line in result.Split(new[] { '\n' }))
103103
{
104+
if (string.IsNullOrEmpty(line)) continue;
105+
104106
countlineheader--;
105107
if (line.Length > 12 && line.Substring(0, 11) == @"diff --git ")
106108
{

0 commit comments

Comments
 (0)