diff options
Diffstat (limited to 'LibGit2Sharp/TreeEntryTargetType.cs')
-rw-r--r-- | LibGit2Sharp/TreeEntryTargetType.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LibGit2Sharp/TreeEntryTargetType.cs b/LibGit2Sharp/TreeEntryTargetType.cs index 0dfca339..a4e54d73 100644 --- a/LibGit2Sharp/TreeEntryTargetType.cs +++ b/LibGit2Sharp/TreeEntryTargetType.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using LibGit2Sharp.Core; namespace LibGit2Sharp @@ -37,7 +38,8 @@ namespace LibGit2Sharp return GitObjectType.Blob; default: - throw new InvalidOperationException(string.Format("Cannot map {0} to a GitObjectType.", type)); + throw new InvalidOperationException( + string.Format(CultureInfo.InvariantCulture, "Cannot map {0} to a GitObjectType.", type)); } } } |