FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update base.py · gitpython-developers/GitPython@56ae34e · GitHub

Repository navigation

Commit 56ae34e

Browse files
committed
Update base.py
1 parent 660bdca commit 56ae34e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git/objects/submodule/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def remove(self, module=True, force=False, configuration=True, dry_run=False):
657657
num_branches_with_new_commits = 0
658658
rrefs = remote.refs
659659
for rref in rrefs:
660-
num_branches_with_new_commits = len(mod.git.cherry(rref)) != 0
660+
num_branches_with_new_commits += len(mod.git.cherry(rref)) != 0
661661
# END for each remote ref
662662
# not a single remote branch contained all our commits
663663
if num_branches_with_new_commits == len(rrefs):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL