Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit2Sharp/StatusEntry.cs')
-rw-r--r--LibGit2Sharp/StatusEntry.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/LibGit2Sharp/StatusEntry.cs b/LibGit2Sharp/StatusEntry.cs
index a049d316..ecf56dbe 100644
--- a/LibGit2Sharp/StatusEntry.cs
+++ b/LibGit2Sharp/StatusEntry.cs
@@ -1,5 +1,6 @@
using System;
using System.Diagnostics;
+using System.Globalization;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
@@ -125,10 +126,10 @@ namespace LibGit2Sharp
string oldFilePath = ((State & FileStatus.RenamedInIndex) == FileStatus.RenamedInIndex) ?
HeadToIndexRenameDetails.OldFilePath : IndexToWorkDirRenameDetails.OldFilePath;
- return string.Format("{0}: {1} -> {2}", State, oldFilePath, FilePath);
+ return string.Format(CultureInfo.InvariantCulture, "{0}: {1} -> {2}", State, oldFilePath, FilePath);
}
- return string.Format("{0}: {1}", State, FilePath);
+ return string.Format(CultureInfo.InvariantCulture, "{0}: {1}", State, FilePath);
}
}
}