From e3b1c45aebed329cbc9ad172b1d8e812cf208117 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 3 Oct 2012 18:04:02 +0900 Subject: [PATCH] Remove unreachable code Change 9bb1816b removed part of a block of code, but left the remaining part unreachable. Remove it. Change-Id: Icdc6061d00e6027df32dee9a3bad3999fe7cdcbc --- subcmds/sync.py | 8 -------- 1 file changed, 8 deletions(-) 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