Skip to content

Commit 123cb67

Browse files
committed
Backport of #118
1 parent ae2baad commit 123cb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/submodule/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def remove(self, module=True, force=False, configuration=True, dry_run=False):
644644
num_branches_with_new_commits=0
645645
rrefs=remote.refs
646646
forrrefinrrefs:
647-
num_branches_with_new_commits=len(mod.git.cherry(rref)) !=0
647+
num_branches_with_new_commits+=len(mod.git.cherry(rref)) !=0
648648
# END for each remote ref
649649
# not a single remote branch contained all our commits
650650
ifnum_branches_with_new_commits==len(rrefs):

0 commit comments

Comments
(0)