diff --git a/git_cache.py b/git_cache.py index 1782ec093..c5f166e71 100755 --- a/git_cache.py +++ b/git_cache.py @@ -486,12 +486,11 @@ class Mirror(object): pack_files = [] if os.path.isdir(pack_dir): pack_files = [f for f in os.listdir(pack_dir) if f.endswith('.pack')] - self.print('%s has %d .pack files, re-bootstrapping if ==0 or >%d' % + self.print('%s has %d .pack files, re-bootstrapping if >%d' % (self.mirror_path, len(pack_files), GC_AUTOPACKLIMIT)) should_bootstrap = (force or not self.exists() or - len(pack_files) == 0 or len(pack_files) > GC_AUTOPACKLIMIT) if not should_bootstrap: