Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaedab26

Browse files
committed
Merge branch 'neeraju-patch-1'
2 parents15081dc +bba4782 commitaedab26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/objects/submodule/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class UpdateProgress(RemoteProgress):
6060
# mechanism which cause plenty of trouble of the only reason for packages and
6161
# modules is refactoring - subpackages shoudn't depend on parent packages
6262
classSubmodule(util.IndexObject,Iterable,Traversable,RepoAliasMixin):
63-
6463
"""Implements access to a git submodule. They are special in that their sha
6564
represents a commit in the submodule's repository which is to be checked out
6665
at the path of this instance.
@@ -662,7 +661,7 @@ def remove(self, module=True, force=False, configuration=True, dry_run=False):
662661
num_branches_with_new_commits=0
663662
rrefs=remote.refs
664663
forrrefinrrefs:
665-
num_branches_with_new_commits=len(mod.git.cherry(rref))!=0
664+
num_branches_with_new_commits+=len(mod.git.cherry(rref))!=0
666665
# END for each remote ref
667666
# not a single remote branch contained all our commits
668667
ifnum_branches_with_new_commits==len(rrefs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp