Ejemplo n.º 1
0
 private void RunBlame(BlamePositionModel position)
 {
     if (position == null || position.RepoPath == null)
     {
         Blame.ClearBlameResult();
     }
     else
     {
         ProfileOptimization.StartProfile("Blame");
         BlameResult blame = GitWrapper.GetBlameOutput(position.RepoPath, position.FileName, position.CommitId);
         Blame.SetBlameResult(blame, position.LineNumber ?? 1);
     }
 }
Ejemplo n.º 2
0
 private void RunBlame(BlamePositionModel?position)
 {
     if (position is null || position.RepoPath is null)
     {
         Blame.ClearBlameResult();
     }