Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit d467e3e

Browse files
Merge branch 'master' into fixes/stop-watcher-for-commit
2 parents 3734dbe + 6af1fca commit d467e3e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/GitHub.Api/Helpers/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ static class Constants
99
public const string UsageFile = "usage.json";
1010
public const string GitInstallPathKey = "GitInstallPath";
1111
public const string TraceLoggingKey = "EnableTraceLogging";
12-
public const string Iso8601Format = "o";
12+
public const string Iso8601Format = "yyyy-MM-ddTHH\\:mm\\:ss.fffffffzzz";
1313

1414
public static readonly Version MinimumGitVersion = new Version(2, 11, 0);
1515
public static readonly Version MinimumGitLfsVersion = new Version(2, 3, 4);

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ public override void OnEnable()
5151
userSettingsView.OnEnable();
5252
AttachHandlers(Repository);
5353

54-
Repository.CheckCurrentRemoteChangedEvent(lastCurrentRemoteChangedEvent);
55-
Repository.CheckLocksChangedEvent(lastLocksChangedEvent);
54+
if (Repository != null)
55+
{
56+
Repository.CheckCurrentRemoteChangedEvent(lastCurrentRemoteChangedEvent);
57+
Repository.CheckLocksChangedEvent(lastLocksChangedEvent);
58+
}
59+
5660
metricsHasChanged = true;
5761
}
5862

0 commit comments

Comments
 (0)