diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2015-07-03 15:37:29 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2015-07-03 15:37:29 +0200 |
| commit | 369e564174bfdd592d64a027bebc3f3f41ee8f11 (patch) | |
| tree | dbefbff79b5c08947f8f6d5d1c0ba54b2ce4ce54 /git/test/fixtures/cat_file.py | |
| parent | 36dbe7e9b55a09c68ba179bcf2c3d3e1b7898ef3 (diff) | |
| download | GitPython-369e564174bfdd592d64a027bebc3f3f41ee8f11.tar.gz GitPython-369e564174bfdd592d64a027bebc3f3f41ee8f11.zip | |
fix(cmd): don't open stdout when fetching
This allows us to use the main thread to parse stderr to get progress,
and resolve assertion failures hopefully once and for all.
Relates to #301
Diffstat (limited to 'git/test/fixtures/cat_file.py')
| -rw-r--r-- | git/test/fixtures/cat_file.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git/test/fixtures/cat_file.py b/git/test/fixtures/cat_file.py new file mode 100644 index 00000000..2f1b915a --- /dev/null +++ b/git/test/fixtures/cat_file.py @@ -0,0 +1,5 @@ +import sys + +for line in open(sys.argv[1]).readlines(): + sys.stdout.write(line) + sys.stderr.write(line) |
