]> git.proxmox.com Git - proxmox-backup.git/commit
pxar: anchor pxarexcludes starting with a slash
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 15 Oct 2020 10:26:45 +0000 (12:26 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 15 Oct 2020 10:28:31 +0000 (12:28 +0200)
commit8d841f81ee012e31f75bc47b09e5fdc9f99c3e0e
tree24d4d917b3f028b5ff45b9fd188e296085a97d8a
parentd9f365d79fc38955730492a35e97f27e19375e54
pxar: anchor pxarexcludes starting with a slash

Given the .pxarexclude file

    foo
    /bar

The following happens:

    exclude: /foo
    exclude: /bar
    exclude: /subdir/foo
    include: /subdir/bar

since the `/bar` line is an absolute path

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/pxar/create.rs