I have gitolite running on a remote server (in English_US) and one of my computers accesses it using git with es_MX (espaƱol, Mexico) as the locale. Everytime I access the server, it gives me an error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "es_MX.UTF-8",
LC_ADDRESS = "es_MX.UTF-8",
LC_MONETARY = "es_MX.UTF-8",
LC_NUMERIC = "es_MX.UTF-8",
LC_TELEPHONE = "es_MX.UTF-8",
LC_IDENTIFICATION = "es_MX.UTF-8",
LC_MEASUREMENT = "es_MX.UTF-8",
LC_TIME = "es_MX.UTF-8",
LC_NAME = "es_MX.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Is there a way to tell git to use en_US when connecting to gitolite only?
Edit: I have already tried the answer to this question, but that only changes the local language, and does not affect the error.