git: force language to be en_US for output
This commit is contained in:
parent
441bde27ea
commit
4bcad658a6
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue