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.
2 parents 020c8ea + af4902b commit ded4090Copy full SHA for ded4090
lib/git/lib.rb
@@ -1052,9 +1052,9 @@ def encoding_options
1052
def normalize_encoding(str)
1053
return str if str.valid_encoding? && str.encoding.name == default_encoding
1054
1055
- return str.encode(default_encoding, str.encoding, encoding_options) if str.valid_encoding?
+ return str.encode(default_encoding, str.encoding, **encoding_options) if str.valid_encoding?
1056
1057
- str.encode(default_encoding, detected_encoding(str), encoding_options)
+ str.encode(default_encoding, detected_encoding(str), **encoding_options)
1058
end
1059
1060
def run_command(git_cmd, &block)
0 commit comments