diff options
Diffstat (limited to 'lib/git/objects/util.py')
-rw-r--r-- | lib/git/objects/util.py | 2 |
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 |