We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7cf943 + 11b3b1f commit ebc6691Copy full SHA for ebc6691
1 file changed
src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs
@@ -224,7 +224,7 @@ private void OnLogUpdate(List<GitLogEntry> entries)
224
225
private void MaybeUpdateData()
226
{
227
- isPublished = Repository.CurrentRemote.HasValue;
+ isPublished = Repository != null && Repository.CurrentRemote.HasValue;
228
currentRemote = isPublished ? Repository.CurrentRemote.Value.Name : "placeholder";
229
230
if (!updated)
0 commit comments