Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 52cceaf

Browse filesBrowse files
git,cmd: add encoding arg to popen if universal newlines is True
1 parent 1bb4651 commit 52cceaf
Copy full SHA for 52cceaf

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎git/cmd.py

Copy file name to clipboardExpand all lines: git/cmd.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,7 @@ def execute(
12691269
stdout=stdout_sink,
12701270
shell=shell,
12711271
universal_newlines=universal_newlines,
1272+
encoding=defenc if universal_newlines else None,
12721273
**subprocess_kwargs,
12731274
)
12741275
except cmd_not_found_exception as err:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.