diff options
author | Colin Snover <csnover@users.noreply.github.com> | 2016-02-24 21:39:18 -0600 |
---|---|---|
committer | Colin Snover <csnover@users.noreply.github.com> | 2016-02-24 21:39:18 -0600 |
commit | 5982ff789e731c1cbd9b05d1c6826adf0cd8080b (patch) | |
tree | df5a911246fc0f586b62b8439a81732ddc006838 /git/cmd.py | |
parent | 9f4af7c6db25c5bbec7fdc8dfc0ea6803350d94c (diff) | |
download | gitpython-5982ff789e731c1cbd9b05d1c6826adf0cd8080b.tar.gz |
fix(cmd): Use buffered reads
Popen defaults to using unbuffered reads, which are extremely slow.
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -605,6 +605,7 @@ class Git(LazyMixin): proc = Popen(command, env=env, cwd=cwd, + bufsize=-1, stdin=istream, stderr=PIPE, stdout=with_stdout and PIPE or None, |