We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4888a commit ab6497aCopy full SHA for ab6497a
bin/commit-email.rb
@@ -136,7 +136,6 @@ def git(*args)
136
def with_gitenv
137
orig = ENV.to_h.dup
138
begin
139
- ENV['LANG'] = 'C'
140
ENV.delete('GIT_DIR')
141
yield
142
ensure
hooks/post-receive.sh
@@ -10,6 +10,9 @@ ruby_commit_hook="$(cd "$(dirname $0)"; cd ..; pwd)"
10
# Cancel impact of SSH Agent Forwarding to git push by matzbot
11
unset SSH_AUTH_SOCK
12
13
+# Cancel impact from LANG=C set by apache2
14
+export LANG=en_US.UTF-8
15
+
16
function log() {
17
echo -e "[$$: $(date "+%Y-%m-%d %H:%M:%S %Z")] $1"
18
}
0 commit comments