From aa9ed52ecc28456f37d6fe772064b681362d065f Mon Sep 17 00:00:00 2001 From: "Artem V. Navrotskiy" Date: Tue, 1 Sep 2015 19:06:50 +0300 Subject: Do not clean LANG environment variable for the git hooks when working through the SSH-protocol When cleaning this environment variable can be problems with the processing of non-ASCII data --- lib/gitlab_shell.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/gitlab_shell.rb') diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 57c319c..356c8ee 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -122,6 +122,7 @@ class GitlabShell env = { 'PATH' => ENV['PATH'], 'LD_LIBRARY_PATH' => ENV['LD_LIBRARY_PATH'], + 'LANG' => ENV['LANG'], 'GL_ID' => @key_id } -- cgit v1.2.1