From 7ef66a66dc52dcdf44cebe435de80634e1beb268 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 26 Nov 2009 17:48:01 +0100 Subject: objects.utils: Added Traversable base and implemented it for commits including a test --- lib/git/objects/tree.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/git/objects/tree.py') diff --git a/lib/git/objects/tree.py b/lib/git/objects/tree.py index f88096b3..d070c0d3 100644 --- a/lib/git/objects/tree.py +++ b/lib/git/objects/tree.py @@ -173,6 +173,7 @@ class Tree(base.IndexObject, diff.Diffable): Returns Iterator to traverse the tree recursively up to the given level. + The traversal is depth-first. The iterator returns Blob and Tree objects with paths relative to their repository. -- cgit v1.2.1