Skip to content

Commit 1764ad1

Browse files
committed
fix typo
1 parent 9fa552d commit 1764ad1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

GitVersionCore/BuildServers/GitHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace GitVersion
77

88
public static class GitHelper
99
{
10-
private const string MergeMessageRegexPattern = "refs/heads/pull(-requests)?/(?<issuenumber>[0-9]*)/merge";
10+
const string MergeMessageRegexPattern = "refs/heads/pull(-requests)?/(?<issuenumber>[0-9]*)/merge";
1111

1212
public static void NormalizeGitDirectory(string gitDirectory, Authentication authentication, string branch = null)
1313
{

GitVersionCore/GitVersionContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public GitVersionContext(IRepository repository, Branch currentBranch)
2525

2626
if (repository != null && currentBranch.IsDetachedHead())
2727
{
28-
CurrentBranch = GetBranchesContaininingCommit(CurrentCommit.Sha).OnlyOrDefault() ?? currentBranch;
28+
CurrentBranch = GetBranchesContainingCommit(CurrentCommit.Sha).OnlyOrDefault() ?? currentBranch;
2929
}
3030
else
3131
{
@@ -37,7 +37,7 @@ public GitVersionContext(IRepository repository, Branch currentBranch)
3737
public Branch CurrentBranch { get; private set; }
3838
public Commit CurrentCommit { get; private set; }
3939

40-
private IEnumerable<Branch> GetBranchesContaininingCommit(string commitSha)
40+
IEnumerable<Branch> GetBranchesContainingCommit(string commitSha)
4141
{
4242
var directBranchHasBeenFound = false;
4343
foreach (var branch in Repository.Branches)

Tests/BuildServers/BuildServerBaseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void BuildNumberIsFullSemVer()
3434
writes[1].ShouldBe("1.2.3-beta.1+5");
3535
}
3636

37-
private class BuildServer : BuildServerBase
37+
class BuildServer : BuildServerBase
3838
{
3939
public override bool CanApplyToCurrentContext()
4040
{

Tests/LambdaEqualityHelperFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void EqualityHelperCanTestNullInHashCode()
3636
Assert.AreNotEqual(one.GetHashCode(), three.GetHashCode());
3737
}
3838

39-
private class ObjectWithEquality : GitObject
39+
class ObjectWithEquality : GitObject
4040
{
4141
ObjectId id;
4242

0 commit comments

Comments
 (0)