diff options
author | Werner Koch <[email protected]> | 2023-06-15 11:52:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-06-15 11:59:22 +0000 |
commit | 3bab25d7d5197cd6178be653feb1182cd313ecbe (patch) | |
tree | c40f213cf22a8e060941b44e5403cfcc6dcf742b /tools/gpgtar-create.c | |
parent | gpg: New option --no-compress as alias for -z0. (diff) | |
download | gnupg-3bab25d7d5197cd6178be653feb1182cd313ecbe.tar.gz gnupg-3bab25d7d5197cd6178be653feb1182cd313ecbe.zip |
gpgtar: New option --no-compress.
* tools/gpgtar.c: Add option --no-compress.
* tools/gpgtar.h (opt): Add field no_compress.
* tools/gpgtar-create.c (gpgtar_create): Pass -z0 to gpg.
--
This option is probably easier to remember than --gpg-args '-z0'.
Diffstat (limited to 'tools/gpgtar-create.c')
-rw-r--r-- | tools/gpgtar-create.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c index 26d37a332..0994322ea 100644 --- a/tools/gpgtar-create.c +++ b/tools/gpgtar-create.c @@ -1273,6 +1273,8 @@ gpgtar_create (char **inpattern, const char *files_from, int null_names, ccparray_put (&ccp, "--recipient"); ccparray_put (&ccp, arg->d); } + if (opt.no_compress) + ccparray_put (&ccp, "-z0"); for (arg = opt.gpg_arguments; arg; arg = arg->next) ccparray_put (&ccp, arg->d); |