8000 Merge pull request #1919 from OronDF343/patch-1 · Calidus/libgit2sharp@1e6da83 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e6da83

Browse files
authored
Merge pull request libgit2#1919 from OronDF343/patch-1
Fix incorrect information in exceptions
2 parents ec8ff4a + 85f1f1b commit 1e6da83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LibGit2Sharp/Repository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,13 +1500,13 @@ private MergeResult Merge(AnnotatedCommitHandle[] annotatedCommits, Signature me
15001500
break;
15011501
default:
15021502
throw new NotImplementedException(
1503-
string.Format(CultureInfo.InvariantCulture, "Unknown fast forward strategy: {0}", mergeAnalysis));
1503+
string.Format(CultureInfo.InvariantCulture, "Unknown fast forward strategy: {0}", fastForwardStrategy));
15041504
}
15051505

15061506
if (mergeResult == null)
15071507
{
15081508
throw new NotImplementedException(
1509-
string.Format(CultureInfo.InvariantCulture, "Unknown merge analysis: {0}", options.FastForwardStrategy));
1509+
string.Format(CultureInfo.InvariantCulture, "Unknown merge analysis: {0}", mergeAnalysis));
15101510
}
15111511

15121512
return mergeResult;

0 commit comments

Comments
 (0)
0