mirror of https://github.com/borgbackup/borg.git
Merge pull request #4949 from Gu1nness/4934-borg-extract-is-confusing
Fix #4934 : The path given by borg extract --strip-components --list is not confusing anymore
This commit is contained in:
commit
a5152012f4
|
@ -797,7 +797,7 @@ class Archiver:
|
||||||
except BackupOSError as e:
|
except BackupOSError as e:
|
||||||
self.print_warning('%s: %s', remove_surrogates(dir_item.path), e)
|
self.print_warning('%s: %s', remove_surrogates(dir_item.path), e)
|
||||||
if output_list:
|
if output_list:
|
||||||
logging.getLogger('borg.output.list').info(remove_surrogates(orig_path))
|
logging.getLogger('borg.output.list').info(remove_surrogates(item.path))
|
||||||
try:
|
try:
|
||||||
if dry_run:
|
if dry_run:
|
||||||
archive.extract_item(item, dry_run=True, pi=pi)
|
archive.extract_item(item, dry_run=True, pi=pi)
|
||||||
|
|
Loading…
Reference in New Issue