Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit5982ff7

Browse files
committed
fix(cmd): Use buffered reads
Popen defaults to using unbuffered reads, which are extremely slow.
1 parent9f4af7c commit5982ff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎git/cmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ def execute(self, command,
605605
proc=Popen(command,
606606
env=env,
607607
cwd=cwd,
608+
bufsize=-1,
608609
stdin=istream,
609610
stderr=PIPE,
610611
stdout=with_stdoutandPIPEorNone,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp