GitRepository: new method for getting git output as generator
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 10 Sep 2013 12:29:31 +0000 (15:29 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:00 +0000 (14:22 +0200)
commit81e297044a229274eeb3d4a3b1e0d7b037b5277b
treeb6c9cc33653c1dd6a97d9bb7d1f3e9a194e24ced
parent157c6aa57e7df4725f80a2d17ba80b4eac8f43d3
GitRepository: new method for getting git output as generator

Add a new _git_inout2() helper method that returns the git output
(stdout) as a generator - instead of all stdout data in one string.
Useful for handling git commands that are expected to have a lot of
stdout data, like git-archive.

Also, changes the private __git_inout() method to return a generator.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/git/repository.py