Revert "fixes #27217 clear_old_remotes clears wrong directory (gitfs)"

This reverts commit cccdeee18a, as it was
correct in the first place.
This commit is contained in:
Erik Johnson 2015-09-24 15:02:38 -05:00
parent 12a021da11
commit 2379748f9e

View file

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