Commit 4f23058e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Treat '.' and '' as project root

parent b9448d2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ class GitLoader(loaders.Loader):

		abs_dirpath = path.join(self.project_root, dirpath)

		if dirpath != '' and path.exists(path.join(abs_dirpath, '.git')):
		if dirpath not in ['.', ''] and path.exists(path.join(abs_dirpath, '.git')):
			raise walk.SkipDirectory()

		with util.ignore_if_missing():