mirror of
https://git.zx2c4.com/cgit
synced 2024-12-24 16:11:53 +00:00
bd6f5683f6
The untar tests for various compression algorithms use shortcut options from GNU tar to handle decompression. These options may not be provided by non-GNU tar nor even by slightly older GNU tar versions which ship on many systems. An example of the latter case is the --zstd option. This was added in GNU tar-1.32 (2019-02-23)¹. This version of tar is not provided by CentOS/RHEL, in particular. In Debian, --zstd has been backported to the tar-1.30 release. Avoid the requirement on any specific implementations or versions of tar by piping decompressed output to tar. This is compatible with older GNU tar releases as well as tar implementations from other vendors. (It may also be a slight benefit that this more closely matches what the snapshot creation code does.) ¹ Technically, the --zstd option was first released in tar-1.31 (2019-01-02), but this release was very short-lived and is no longer listed on the GNU Tar release page. Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
filters | ||
valgrind/bin | ||
.gitignore | ||
Makefile | ||
setup.sh | ||
t0001-validate-git-versions.sh | ||
t0010-validate-html.sh | ||
t0020-validate-cache.sh | ||
t0101-index.sh | ||
t0102-summary.sh | ||
t0103-log.sh | ||
t0104-tree.sh | ||
t0105-commit.sh | ||
t0106-diff.sh | ||
t0107-snapshot.sh | ||
t0108-patch.sh | ||
t0109-gitconfig.sh | ||
t0110-rawdiff.sh | ||
t0111-filter.sh |