Skip to content

Commit 221fb4f

Browse files
Merge pull request #9 from lenucksi/master
handle non-us language environments properly
2 parents 08b68bd + ce8c43e commit 221fb4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitignore_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ def repo_ignored_paths(git_repo):
171171
['git', 'clean', '-ndX'],
172172
stdout=subprocess.PIPE,
173173
cwd=git_repo,
174-
startupinfo=startupinfo
174+
startupinfo=startupinfo,
175+
env={'LANG':'C'}
175176
).stdout.read()
176177

177178
command_output = command_output.decode('utf-8', 'ignore')

0 commit comments

Comments
 (0)