summaryrefslogtreecommitdiff
path: root/lib/git/objects/tree.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-26 17:48:01 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-26 17:48:01 +0100
commit7ef66a66dc52dcdf44cebe435de80634e1beb268 (patch)
treec5923e0c2eed7e8453adb14f44fe64ea72d2f29b /lib/git/objects/tree.py
parentfa98250e1dd7f296b36e0e541d3777a3256d676c (diff)
downloadgitpython-7ef66a66dc52dcdf44cebe435de80634e1beb268.tar.gz
objects.utils: Added Traversable base and implemented it for commits including a test
Diffstat (limited to 'lib/git/objects/tree.py')
-rw-r--r--lib/git/objects/tree.py1
1 files changed, 1 insertions, 0 deletions
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.