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

Commit fbff071

Browse files
committed
Fix typo
1 parent ff27758 commit fbff071

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/GitHub.Api/Cache/CacheInterfaces.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public interface IConfigRemoteDictionary : IDictionary<string, ConfigRemote>
8484
public interface IBranchCache : IManagedCache
8585
{
8686
ConfigRemote? CurrentConfigRemote { get; set; }
87-
ConfigBranch? CurentConfigBranch { get; set; }
87+
ConfigBranch? CurrentConfigBranch { get; set; }
8888

8989
GitBranch[] LocalBranches { get; set; }
9090
GitBranch[] RemoteBranches { get; set; }
@@ -105,7 +105,7 @@ public interface IBranchCache : IManagedCache
105105
public interface IRepositoryInfoCache : IManagedCache
106106
{
107107
GitRemote? CurrentGitRemote { get; set; }
108-
GitBranch? CurentGitBranch { get; set; }
108+
GitBranch? CurrentGitBranch { get; set; }
109109
}
110110

111111
public interface IGitLogCache : IManagedCache

src/GitHub.Api/Git/Repository.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ public GitBranch[] RemoteBranches
523523

524524
private ConfigBranch? CurrentConfigBranch
525525
{
526-
get { return this.cacheContainer.BranchCache.CurentConfigBranch; }
527-
set { cacheContainer.BranchCache.CurentConfigBranch = value; }
526+
get { return this.cacheContainer.BranchCache.CurrentConfigBranch; }
527+
set { cacheContainer.BranchCache.CurrentConfigBranch = value; }
528528
}
529529

530530
private ConfigRemote? CurrentConfigRemote
@@ -553,8 +553,8 @@ public List<GitStatusEntry> CurrentChanges
553553

554554
public GitBranch? CurrentBranch
555555
{
556-
get { return cacheContainer.RepositoryInfoCache.CurentGitBranch; }
557-
private set { cacheContainer.RepositoryInfoCache.CurentGitBranch = value; }
556+
get { return cacheContainer.RepositoryInfoCache.CurrentGitBranch; }
557+
private set { cacheContainer.RepositoryInfoCache.CurrentGitBranch = value; }
558558
}
559559

560560
public string CurrentBranchName => CurrentConfigBranch?.Name;

src/UnityExtension/Assets/Editor/GitHub.Unity/ApplicationCache.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public GitRemote? CurrentGitRemote
477477
}
478478
}
479479

480-
public GitBranch? CurentGitBranch
480+
public GitBranch? CurrentGitBranch
481481
{
482482
get
483483
{
@@ -548,7 +548,7 @@ public ConfigRemote? CurrentConfigRemote
548548
}
549549
}
550550

551-
public ConfigBranch? CurentConfigBranch
551+
public ConfigBranch? CurrentConfigBranch
552552
{
553553
get
554554
{

0 commit comments

Comments
 (0)