diff --git a/subcmds/sync.py b/subcmds/sync.py index f573b980..b84d169f 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -510,14 +510,6 @@ uncommitted changes are present' % project.relpath # bail out now; the rest touches the working tree return - self.manifest._Unload() - all = self.GetProjects(args, missing_ok=True) - missing = [] - for project in all: - if project.gitdir not in fetched: - missing.append(project) - self._Fetch(missing, opt) - if self.manifest.IsMirror: # bail out now, we have no working tree return