private void LoadLostObjects()
{
Cursor.Current = Cursors.WaitCursor;
var options = GetOptions();
var process = new FormProcess("fsck-objects" + options);
process.ShowDialog();
var warningList = new List<string>();
foreach (var warning in process.OutputString.ToString().Split('\n'))
{
if (!ShowOnlyCommits.Checked || warning.Contains("commit"))
warningList.Add(ExtendWarning(warning));
}
Warnings.DataSource = warningList;
Cursor.Current = Cursors.Default;
}