From feb1ea0f4aacb9ea6dc4133900e65bf34c0ee02d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 24 Jun 2010 19:41:43 +0200 Subject: GitCmdStreamReader: fixed terrible bug which only kicked in if the stream was actually empty. This is a rare case that can happen during stream testing. Theoretically there shouldn't be any empty streams of course, but practically they do exist sometimes ;); fixed stream.seek implementation, which previously used seek on standard output Improved GitCmd error handling --- lib/git/objects/fun.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/git/objects/fun.py') diff --git a/lib/git/objects/fun.py b/lib/git/objects/fun.py index c2e7358f..5b39ab0c 100644 --- a/lib/git/objects/fun.py +++ b/lib/git/objects/fun.py @@ -1,6 +1,7 @@ """Module with functions which are supposed to be as fast as possible""" -__all__ = ('tree_to_stream', 'tree_entries_from_data') +__all__ = ('tree_to_stream', 'tree_entries_from_data', 'traverse_trees_recursive', + 'traverse_tree_recursive') from stat import S_ISDIR -- cgit v1.2.1