Merge pull request #27276 from rallytime/bp-27218

Back-port #27218 to 2015.8
This commit is contained in:
Justin Findlay 2015-09-21 13:05:54 -06:00
commit 78d44a5c74

View File

@ -1609,7 +1609,7 @@ class GitBase(object):
pass
to_remove = []
for item in cachedir_ls:
if item in ('hash', 'refs'):
if item in ('gitfs', 'refs'):
continue
path = os.path.join(self.cache_root, item)
if os.path.isdir(path):