private void Blame_CommandClick(object sender, CommitInfo.CommandEventArgs e) { if (e.Command == "gotocommit") { FileChanges.SetSelectedRevision(GitRevision.CreateForShortSha1(Module, e.Data)); } else if (e.Command == "gotobranch" || e.Command == "gototag") { string error = ""; CommitData commit = CommitData.GetCommitData(Module, e.Data, ref error); if (commit != null) { FileChanges.SetSelectedRevision(new GitRevision(Module, commit.Guid)); } } else if (e.Command == "navigatebackward") { FileChanges.NavigateBackward(); } else if (e.Command == "navigateforward") { FileChanges.NavigateForward(); } }