summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-26 22:20:33 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-28 03:35:19 +0200
commit618e6259ef03a4b25415bae31a7540ac5eb2e38a (patch)
tree9981f14dc0feda6bd693ccb72c1e454fb684fc15 /git/cmd.py
parentaa3f2fa76844e1700ba37723acf603428b20ef74 (diff)
downloadgitpython-618e6259ef03a4b25415bae31a7540ac5eb2e38a.tar.gz
test, #519: Try appveyor advice for never-ending builds
+ see http://help.appveyor.com/discussions/problems/5334-nosetests-finsih-bu-build-stuck-and-next-job-dealys-to-start + Use `io.DEFAULT_BUFFER_SIZE`. + test_commit: replace asserts with unittest-asserts. - TRY Popen() NO universal_newlines: NO, reverted in next commits. + [travisci skip]
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 7b032d58..682df006 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -43,6 +43,7 @@ from git.compat import (
is_posix,
is_win,
)
+import io
execute_kwargs = ('istream', 'with_keep_cwd', 'with_extended_output',
'with_exceptions', 'as_process', 'stdout_as_string',
@@ -271,7 +272,7 @@ class Git(LazyMixin):
# CONFIGURATION
# The size in bytes read from stdout when copying git's output to another stream
- max_chunk_size = 1024 * 64
+ max_chunk_size = io.DEFAULT_BUFFER_SIZE
git_exec_name = "git" # default that should work on linux and windows
git_exec_name_win = "git.cmd" # alternate command name, windows only