Skip to content

Commit

Permalink
fixup! review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardol committed Jan 17, 2022
1 parent 1219fa8 commit 3e5a362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GitUI/CommandsDialogs/FormBlame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public FormBlame(GitUICommands commands, string fileName, GitRevision? revision,

FileName = fileName;

blameControl1.LoadBlameAsync(revision ?? Module.GetRevision(), null, fileName, null, null, Module.FilesEncoding, initialLine);
_ = blameControl1.LoadBlameAsync(revision ?? Module.GetRevision(), null, fileName, null, null, Module.FilesEncoding, initialLine);
blameControl1.ConfigureRepositoryHostPlugin(PluginRegistry.TryGetGitHosterForModule(Module));
}

Expand Down
2 changes: 1 addition & 1 deletion GitUI/UserControls/BlameControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Task LoadBlameAsync(GitRevision revision, IReadOnlyList<ObjectId>? childr
BlameAuthor.Clear();
BlameFile.Clear();

return _blameLoader.LoadAsync(cancellationToken => _blame = Module.Blame(fileName, objectId.ToString(), encoding, null, cancellationToken),
return _blameLoader.LoadAsync(cancellationToken => _blame = Module.Blame(fileName, objectId.ToString(), encoding, cancellationToken: cancellationToken),
() => ProcessBlame(fileName, revision, children, controlToMask, line, scrollPos, cancellationToken));
}

Expand Down

0 comments on commit 3e5a362

Please sign in to comment.