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 7afaeab commit 55424e5Copy full SHA for 55424e5
lib/git/lib.rb
@@ -318,7 +318,7 @@ def worktrees_all
318
# worktree /code/public/ruby-git
319
# HEAD 4bef5abbba073c77b4d0ccc1ffcd0ed7d48be5d4
320
# branch refs/heads/master
321
- #
+ #
322
# worktree /tmp/worktree-1
323
# HEAD b8c63206f8d10f57892060375a86ae911fad356e
324
# detached
@@ -964,10 +964,7 @@ def meets_required_version?
964
def command_lines(cmd, *opts)
965
cmd_op = command(cmd, *opts)
966
if cmd_op.encoding.name != "UTF-8"
967
- op = cmd_op.encode("UTF-8", "binary", {
968
- :invalid => :replace,
969
- :undef => :replace
970
- })
+ op = cmd_op.encode("UTF-8", "binary", :invalid => :replace, :undef => :replace)
971
else
972
op = cmd_op
973
end
0 commit comments