public void Open() { if (Info.Detailed?.RawStatus is not null) { UICommands.BrowseSetWorkingDir(Info.Path, ObjectId.WorkTreeId, Info.Detailed.RawStatus.OldCommit); return; } UICommands.BrowseSetWorkingDir(Info.Path); }
public void Open() { if (!Directory.Exists(Info.Path)) { MessageBoxes.SubmoduleDirectoryDoesNotExist(owner: null, Info.Path, Info.Text); return; } if (Info.Detailed?.RawStatus is not null) { UICommands.BrowseSetWorkingDir(Info.Path, ObjectId.WorkTreeId, Info.Detailed.RawStatus.OldCommit); return; } UICommands.BrowseSetWorkingDir(Info.Path); }
public void Open() { UICommands.BrowseSetWorkingDir(Info.Path); }