diff --git a/src/Views/CommitMessagePresenter.cs b/src/Views/CommitMessagePresenter.cs index 59543af8..281cb38c 100644 --- a/src/Views/CommitMessagePresenter.cs +++ b/src/Views/CommitMessagePresenter.cs @@ -299,7 +299,7 @@ namespace SourceGit.Views _inlineCommits.Add(sha, c); // Make sure user still hovers the target SHA. - if (_lastHover == link) + if (_lastHover == link && c != null) { ToolTip.SetTip(this, c); ToolTip.SetIsOpen(this, true);