Skip to content

Commit

Permalink
git,cmd: add encoding arg to popen if universal newlines is True
Browse files Browse the repository at this point in the history
  • Loading branch information
fvalette-ledger committed Oct 15, 2024
1 parent 1bb4651 commit 52cceaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,7 @@ def execute(
stdout=stdout_sink,
shell=shell,
universal_newlines=universal_newlines,
encoding=defenc if universal_newlines else None,
**subprocess_kwargs,
)
except cmd_not_found_exception as err:
Expand Down

0 comments on commit 52cceaf

Please sign in to comment.