summaryrefslogtreecommitdiff
path: root/lib/git/objects/util.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-16 00:18:13 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-16 00:26:27 +0100
commitd4fd7fca515ba9b088a7c811292f76f47d16cd7b (patch)
tree9361f534520c837d8753da7b8cf2340dd384a3ab /lib/git/objects/util.py
parentceee7d7e0d98db12067744ac3cd0ab3a49602457 (diff)
downloadgitpython-d4fd7fca515ba9b088a7c811292f76f47d16cd7b.tar.gz
Submodule now only supports branches to be given as hint that will svn-external like behaviour. Implemented first version of update, which works for now, but probably needs to see more features
Diffstat (limited to 'lib/git/objects/util.py')
-rw-r--r--lib/git/objects/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/util.py b/lib/git/objects/util.py
index 9a54e031..81544e26 100644
--- a/lib/git/objects/util.py
+++ b/lib/git/objects/util.py
@@ -343,7 +343,7 @@ class Traversable(object):
if prune( rval, d ):
continue
- skipStartItem = ignore_self and ( item == self )
+ skipStartItem = ignore_self and ( item is self )
if not skipStartItem and predicate( rval, d ):
yield rval