private void LoadIsMultilineMessageInfo(GitRevision revision, int colIndex, int rowIndex, int totalRowCount, GitModule aModule)
{
// code taken from CommitInfo.cs
CommitData commitData = CommitData.CreateFromRevision(revision);
string error = "";
if (revision.Body == null)
{
CommitData.UpdateCommitMessage(commitData, aModule, revision.Guid, ref error);
revision.Body = commitData.Body;
}
// now that Body is filled (not null anymore) the revision grid can be refreshed to display the new information
this.InvokeAsync(() =>
{
if (Revisions == null || Revisions.RowCount == 0 || Revisions.RowCount <= rowIndex || Revisions.RowCount != totalRowCount)
{
return;
}
Revisions.InvalidateCell(colIndex, rowIndex);
});
}