summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG3
-rw-r--r--lib/gitlab_shell.rb1
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c3b02b0..8944647 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+v2.6.6 (unreleased)
+ - Do not clean LANG environment variable for the git hooks when working through the SSH-protocol
+
v2.6.5
- Handle broken symlinks in create-hooks
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
}