Looks like I used git format-patch, rather than git send-email. The
patch is incomplete, as 2 other compression methods were added in pacman
5.2 (lzip & lz4). I'll discard this patch, and send another with support
for all 3 compression methods.
Regards,
George Rawlinson
On 19-10-22 22:33, George Rawlinson via arch-projects wrote:
> This patch adds support to namcap for zstd compression, introduced in
> pacman 5.2.0.
> ---
> namcap | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/namcap b/namcap
> index 5f9ae19..1c07280 100755
> --- a/namcap
> +++ b/namcap
> @@ -18,6 +18,8 @@ for arg in "${@}"; do
> lzo)cmd='lzop' ;;
> lrz)cmd='lrzip'
> extra_opts="-q -o -" ;;
> + zst)cmd='zstd'
> + extra_opts="-q" ;;
> *) echo 'Unsupported compression'; exit 1;;
> esac
>
> --
> 2.23.0
signature.asc
Description: PGP signature