From 189cdb7427eace2ddc05e7e1cda0f24d9abc2e2f Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Thu, 12 Nov 2020 10:03:51 +0100 Subject: [PATCH] pxar: include .pxarexclude files in the archive The documentation states: .pxarexclude files are treated as regular files and will be included in the backup archive. Signed-off-by: Fabian Ebner Signed-off-by: Wolfgang Bumiller --- src/pxar/create.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pxar/create.rs b/src/pxar/create.rs index 7c8e3edb..1615a504 100644 --- a/src/pxar/create.rs +++ b/src/pxar/create.rs @@ -425,10 +425,6 @@ impl<'a, 'b> Archiver<'a, 'b> { continue; } - if file_name_bytes == b".pxarexclude" { - continue; - } - let os_file_name = OsStr::from_bytes(file_name_bytes); assert_single_path_component(os_file_name)?; let full_path = self.path.join(os_file_name);