Ver código fonte

Merge pull request #3201 from ThomasWaldmann/show-excluded-dirs-1.0

show excluded dir with "x" for tagged dirs / caches, fixes #3189
TW 7 anos atrás
pai
commit
51e0d02571
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      borg/archiver.py

+ 1 - 0
borg/archiver.py

@@ -369,6 +369,7 @@ class Archiver:
                             self._process(archive, cache, matcher, exclude_caches, exclude_if_present,
                             self._process(archive, cache, matcher, exclude_caches, exclude_if_present,
                                           keep_tag_files, skip_inodes, tag_path, restrict_dev,
                                           keep_tag_files, skip_inodes, tag_path, restrict_dev,
                                           read_special=read_special, dry_run=dry_run)
                                           read_special=read_special, dry_run=dry_run)
+                    self.print_file_status('x', path)
                     return
                     return
                 if not dry_run:
                 if not dry_run:
                     status = archive.process_dir(path, st)
                     status = archive.process_dir(path, st)