Forráskód Böngészése

Silence repeated "Processing files..." log entries when --no-files-cache

Marian Beermann 8 éve
szülő
commit
389ca94407
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/borg/archive.py

+ 1 - 1
src/borg/archive.py

@@ -795,7 +795,7 @@ Number of files: {0.stats.nfiles}'''.format(
             # there should be no information in the cache about special files processed in
             # read-special mode, but we better play safe as this was wrong in the past:
             path_hash = ids = None
-        first_run = not cache.files
+        first_run = not cache.files and cache.do_files
         if first_run:
             logger.debug('Processing files ...')
         chunks = None