summaryrefslogtreecommitdiff
path: root/lib/git/objects/utils.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-26 18:16:13 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-26 18:16:13 +0100
commitaccfe361443b3cdb8ea43ca0ccb8fbb2fa202e12 (patch)
treea7786d8ac7fa5772506d9020f0221997991f1b28 /lib/git/objects/utils.py
parent7ef66a66dc52dcdf44cebe435de80634e1beb268 (diff)
downloadgitpython-accfe361443b3cdb8ea43ca0ccb8fbb2fa202e12.tar.gz
tree: added traversal method, adjusted tests
Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\!
Diffstat (limited to 'lib/git/objects/utils.py')
-rw-r--r--lib/git/objects/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/utils.py b/lib/git/objects/utils.py
index 6c45f039..27caa083 100644
--- a/lib/git/objects/utils.py
+++ b/lib/git/objects/utils.py
@@ -134,7 +134,7 @@ class Traversable(object):
while stack:
d, item = stack.pop() # depth of item, item
-
+
if item in visited:
continue