git: force language to be en_US for output

This commit is contained in:
Hylke Bons 2013-02-18 21:19:31 +00:00
parent bf1e87fde0
commit 85cea028ef
3 changed files with 3 additions and 4 deletions

View file

@ -117,6 +117,8 @@ namespace SparkleLib.Git {
StartInfo.WorkingDirectory = path;
StartInfo.CreateNoWindow = true;
StartInfo.EnvironmentVariables.Add ("LANG", "en_US");
if (string.IsNullOrEmpty (ExecPath))
StartInfo.Arguments = args;
else

View file

@ -70,8 +70,6 @@ namespace SparkleLib.Git {
public SparkleRepo (string path, SparkleConfig config) : base (path, config)
{
// TODO: Set git locale to en-US
SparkleGit git = new SparkleGit (LocalPath, "config core.ignorecase false");
git.StartAndWaitForExit ();

View file

@ -270,7 +270,6 @@ namespace SparkleShare {
new Thread (() => {
CheckRepositories ();
RepositoriesLoaded = true;
FolderListChanged ();
UpdateState ();
}).Start ();
@ -371,7 +370,7 @@ namespace SparkleShare {
else
previous_name = folder_name;
}
FolderListChanged ();
}
}