Skip to content

Commit 896bc1b

Browse files
committed
Attempt to remote .OrderBy() to see whether the test still passes
1 parent 6d6d8e9 commit 896bc1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitVersionCore/GitRepoMetadataProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ public Commit FindMergeBase(Branch branch, Branch otherBranch)
151151
{
152152
IncludeReachableFrom = commitToFindCommonBase,
153153
ExcludeReachableFrom = findMergeBase
154-
})
155-
.OrderBy(c => c.Parents.Count())
154+
})
155+
// .OrderBy(c => c.Parents.Count())
156156
.FirstOrDefault(c => c.Parents.Contains(findMergeBase));
157157

158158
if (forwardMerge != null)

0 commit comments

Comments
 (0)