From 495b238bc199a038c62c136af0a2ff3abd36e37a Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Thu, 20 Feb 2020 14:29:13 +0100 Subject: [PATCH] pxar: Change text of warning for files matched by exclude patterns. In addition to the .pxarexclude files, glob match patterns can be passed to pxar also via cli parameters. Therefore the warning is rephrased to be more ambiguous. Signed-off-by: Christian Ebner --- src/pxar/encoder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pxar/encoder.rs b/src/pxar/encoder.rs index f65805bd..6559a551 100644 --- a/src/pxar/encoder.rs +++ b/src/pxar/encoder.rs @@ -758,7 +758,7 @@ impl<'a, W: Write, C: BackupCatalogWriter> Encoder<'a, W, C> { (MatchType::Positive, _) => { let filename_osstr = std::ffi::OsStr::from_bytes(filename.to_bytes()); eprintln!( - "matched by .pxarexclude entry - skipping: {:?}", + "matched by exclude pattern - skipping: {:?}", self.full_path().join(filename_osstr) ); }