From 1896ae1dafd312165e370234d0ffec14f97549aa Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 24 Jul 2020 09:36:07 +0800 Subject: [PATCH] fix(Graph): end path for tree has no parent commits --- SourceGit/Helpers/CommitGraph.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SourceGit/Helpers/CommitGraph.cs b/SourceGit/Helpers/CommitGraph.cs index 82c37f0d..e2294cab 100644 --- a/SourceGit/Helpers/CommitGraph.cs +++ b/SourceGit/Helpers/CommitGraph.cs @@ -186,6 +186,7 @@ namespace SourceGit.Helpers { if (!currentMap.ContainsKey(major.Next)) currentMap.Add(major.Next, major); } else { major.Next = "ENDED"; + ended.Add(l); } major.AddPoint(offsetX, offsetY);