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.WorkingDirectory = path;
|
||||||
StartInfo.CreateNoWindow = true;
|
StartInfo.CreateNoWindow = true;
|
||||||
|
|
||||||
|
StartInfo.EnvironmentVariables.Add ("LANG", "en_US");
|
||||||
|
|
||||||
if (string.IsNullOrEmpty (ExecPath))
|
if (string.IsNullOrEmpty (ExecPath))
|
||||||
StartInfo.Arguments = args;
|
StartInfo.Arguments = args;
|
||||||
else
|
else
|
||||||
|
|
|
@ -70,8 +70,6 @@ namespace SparkleLib.Git {
|
||||||
|
|
||||||
public SparkleRepo (string path, SparkleConfig config) : base (path, config)
|
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");
|
SparkleGit git = new SparkleGit (LocalPath, "config core.ignorecase false");
|
||||||
git.StartAndWaitForExit ();
|
git.StartAndWaitForExit ();
|
||||||
|
|
||||||
|
|
|
@ -270,7 +270,6 @@ namespace SparkleShare {
|
||||||
new Thread (() => {
|
new Thread (() => {
|
||||||
CheckRepositories ();
|
CheckRepositories ();
|
||||||
RepositoriesLoaded = true;
|
RepositoriesLoaded = true;
|
||||||
FolderListChanged ();
|
|
||||||
UpdateState ();
|
UpdateState ();
|
||||||
|
|
||||||
}).Start ();
|
}).Start ();
|
||||||
|
|
Loading…
Reference in a new issue