We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
System.ArgumentException
1 parent db8ee34 commit 4aad6a7Copy full SHA for 4aad6a7
src/ViewModels/CherryPick.cs
@@ -1,5 +1,4 @@
1
using System.Collections.Generic;
2
-using System.Text;
3
using System.Threading.Tasks;
4
5
namespace SourceGit.ViewModels
src/Views/CommitMessagePresenter.cs
@@ -296,7 +296,8 @@ private void ProcessHoverCommitLink(Models.Hyperlink link)
296
if (currentParent is { DataContext: ViewModels.CommitDetail currentDetail } &&
297
currentDetail.Commit.SHA == lastDetailCommit)
298
{
299
- _inlineCommits.Add(sha, c);
+ if (!_inlineCommits.ContainsKey(sha))
300
+ _inlineCommits.Add(sha, c);
301
302
// Make sure user still hovers the target SHA.
303
if (_lastHover == link && c != null)
0 commit comments