summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 02c1d3ae..b7236629 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -2011,7 +2011,7 @@ class LocalSyncState:
2011 delete = set() 2011 delete = set()
2012 for path in self._state: 2012 for path in self._state:
2013 gitdir = os.path.join(self._manifest.topdir, path, ".git") 2013 gitdir = os.path.join(self._manifest.topdir, path, ".git")
2014 if not os.path.exists(gitdir): 2014 if not os.path.exists(gitdir) or os.path.islink(gitdir):
2015 delete.add(path) 2015 delete.add(path)
2016 if not delete: 2016 if not delete:
2017 return 2017 return