diff options
author | neeraju <neeraj.iitr10@gmail.com> | 2013-08-18 20:58:14 +0530 |
---|---|---|
committer | neeraju <neeraj.iitr10@gmail.com> | 2013-08-18 20:58:14 +0530 |
commit | 56ae34ee36c992d3d382432c3e4cc423c4744d5b (patch) | |
tree | ae3f71b7e19431e9d827db9df66d6ddec07b5b35 | |
parent | 660bdca125aa9dcca7a7730535bec433edb8ba02 (diff) | |
download | gitpython-56ae34ee36c992d3d382432c3e4cc423c4744d5b.tar.gz |
Update base.py
-rw-r--r-- | git/objects/submodule/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 1b94f522..500c175f 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -657,7 +657,7 @@ class Submodule(util.IndexObject, Iterable, Traversable, RepoAliasMixin): num_branches_with_new_commits = 0 rrefs = remote.refs for rref in rrefs: - num_branches_with_new_commits = len(mod.git.cherry(rref)) != 0 + num_branches_with_new_commits += len(mod.git.cherry(rref)) != 0 # END for each remote ref # not a single remote branch contained all our commits if num_branches_with_new_commits == len(rrefs): |