Skip to content

Commit

Permalink
Changed LANG to 'C' for calling local lang
Browse files Browse the repository at this point in the history
Problem: If the language package 'en_US.UTF-8' doesn't exist, then called the existing lang pack from OS. Example: I have my OS installed in German and git installed German, too. So doesn't work LANG='en_US.UTF-8'.
The solution: I set LANG to 'C' and this called the default language from git. So works the comparison with 'on Branch'.
  • Loading branch information
Silerra committed Jul 5, 2015
1 parent e096f4d commit 8e96893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const Workshopper = require('workshopper-jlord'),
path = require('path')

process.env.LANG = 'en_US.UTF-8'
process.env.LANG = 'C'

Workshopper({
name: 'git-it',
Expand Down

0 comments on commit 8e96893

Please sign in to comment.