]> git.ipfire.org Git - thirdparty/libarchive.git/commit
tar: demote -xa from error to a warning 1626/head
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 18:05:19 +0000 (18:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 18:40:47 +0000 (18:40 +0000)
commit29fd0178a8861af36ab60407cd718b3f262dda15
tree4e7a8f543e10d57139f0aea6310e27fc3c6a6fd2
parent4f598ce28aa370e945103eb9a17f03c7c820c1e8
tar: demote -xa from error to a warning

It's fairly common for people to use caf and xaf on Linux. The former in
itself being GNU tar specific - libarchive tar does not allow xa.

While it makes little sense to use xaf with libarchive tar, that is
implementation detail which gets in the way when trying to write trivial
tooling/scripts.

For the sake of compatibility, reduce the error to a warning and augment
the message itself. Making it clear that the option makes little sense.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tar/bsdtar.c