diff options
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/git_utils.py b/gbp/git_utils.py index 21823f7..5f6158c 100644 --- a/gbp/git_utils.py +++ b/gbp/git_utils.py @@ -108,7 +108,8 @@ class GitRepository(object): commit, ret = self.__git_getoutput('show', [ id ]) if ret: raise GitRepositoryError, "can't get %s" % id - return commit + for line in commit: + yield line def write_tree(self): """write out the current index, return the SHA1""" |