@ -17,6 +17,9 @@ def git_directories(startdir):
for dirpath, dirnames, _ in os.walk(startdir):
if '.sync' in dirpath:
continue
if '.git/modules' in dirpath:
# FIXME
if set(['info', 'objects', 'refs']).issubset(set(dirnames)):
yield dirpath