fixes #27217 clear_old_remotes clears wrong directory (gitfs)

This commit is contained in:
Nasenbaer 2015-09-18 09:57:32 +02:00 committed by rallytime
parent de6e5abe6c
commit 8c0991d527

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):