diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-26 18:16:13 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-26 18:16:13 +0100 |
commit | accfe361443b3cdb8ea43ca0ccb8fbb2fa202e12 (patch) | |
tree | a7786d8ac7fa5772506d9020f0221997991f1b28 /lib/git/objects/utils.py | |
parent | 7ef66a66dc52dcdf44cebe435de80634e1beb268 (diff) | |
download | gitpython-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.py | 2 |
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 |