diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 11:04:30 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 11:04:30 +0200 |
commit | 33fa178eeb7bf519f5fff118ebc8e27e76098363 (patch) | |
tree | ab4e5789aa334688d71504d532312fb4ce572b71 /lib/git/cmd.py | |
parent | 3c9f55dd8e6697ab2f9eaf384315abd4cbefad38 (diff) | |
download | gitpython-33fa178eeb7bf519f5fff118ebc8e27e76098363.tar.gz |
added Object.data_stream property allowing to stream object data directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r-- | lib/git/cmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index 485a1553..836b599d 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -144,6 +144,7 @@ class Git(object): wrapper that will interrupt the process once it goes out of scope. If you use the command in iterators, you should pass the whole process instance instead of a single stream. + ``output_stream`` If set to a file-like object, data produced by the git command will be output to the given stream directly. |