module Git::LibMonkeyPatch
Public Instance Methods
set_custom_git_env_variables()
click to toggle source
Monkey patch set_custom_git_env_variables
due to our ::Git::GitExecuteError handling.
We rescue on the GitExecuteError and proceed differently based on the output of git. This way makes code language-dependent, so here we ensure that Git
gem throw git commands with the āCā language
Calls superclass method
# File lib/monkey_patches.rb, line 7 def set_custom_git_env_variables super ENV['LANG'] = 'C.UTF-8' end