diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts index 66a9ae4554103d4054924c25a8f504c1f52c0453..769b0c646b2bcf482ae8043e9dacab71ed58b7fe 100644 --- a/lib/util/git/index.ts +++ b/lib/util/git/index.ts @@ -230,7 +230,11 @@ export async function initRepo(args: StorageConfig): Promise<void> { config.additionalBranches = []; config.branchIsModified = {}; const { localDir } = GlobalConfig.get(); - git = simpleGit(localDir, simpleGitConfig()); + git = simpleGit(localDir, simpleGitConfig()).env({ + ...process.env, + LANG: 'C', + LC_ALL: 'C', + }); gitInitialized = false; await fetchBranchCommits(); }