This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
UnityExtension/Assets/Editor/GitHub.Unity/UI Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ static class Constants
9
9
public const string UsageFile = "usage.json" ;
10
10
public const string GitInstallPathKey = "GitInstallPath" ;
11
11
public const string TraceLoggingKey = "EnableTraceLogging" ;
12
- public const string Iso8601Format = "o " ;
12
+ public const string Iso8601Format = "yyyy-MM-ddTHH \\ :mm \\ :ss.fffffffzzz " ;
13
13
14
14
public static readonly Version MinimumGitVersion = new Version ( 2 , 11 , 0 ) ;
15
15
public static readonly Version MinimumGitLfsVersion = new Version ( 2 , 3 , 4 ) ;
Original file line number Diff line number Diff line change @@ -51,8 +51,12 @@ public override void OnEnable()
51
51
userSettingsView . OnEnable ( ) ;
52
52
AttachHandlers ( Repository ) ;
53
53
54
- Repository . CheckCurrentRemoteChangedEvent ( lastCurrentRemoteChangedEvent ) ;
55
- Repository . CheckLocksChangedEvent ( lastLocksChangedEvent ) ;
54
+ if ( Repository != null )
55
+ {
56
+ Repository . CheckCurrentRemoteChangedEvent ( lastCurrentRemoteChangedEvent ) ;
57
+ Repository . CheckLocksChangedEvent ( lastLocksChangedEvent ) ;
58
+ }
59
+
56
60
metricsHasChanged = true ;
57
61
}
58
62
You can’t perform that action at this time.
0 commit comments