summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git_superproject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_superproject.py b/git_superproject.py
index 031f45c9..04e2078d 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -262,7 +262,7 @@ class Superproject(object):
262 return None 262 return None
263 263
264 projects_missing_commit_ids = [] 264 projects_missing_commit_ids = []
265 superproject_remote_name = self._manifest.superproject['remote'].name 265 superproject_fetchUrl = self._manifest.superproject['remote'].fetchUrl
266 for project in projects: 266 for project in projects:
267 path = project.relpath 267 path = project.relpath
268 if not path: 268 if not path:
@@ -274,7 +274,7 @@ class Superproject(object):
274 # superproject's remote. Until superproject, supports multiple remotes, 274 # superproject's remote. Until superproject, supports multiple remotes,
275 # don't update the commit ids of remotes that don't match superproject's 275 # don't update the commit ids of remotes that don't match superproject's
276 # remote. 276 # remote.
277 if project.remote.name != superproject_remote_name: 277 if project.remote.fetchUrl != superproject_fetchUrl:
278 continue 278 continue
279 commit_id = commit_ids.get(path) 279 commit_id = commit_ids.get(path)
280 if commit_id: 280 if commit_id: