mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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'.
This commit is contained in:
parent
2178f35dff
commit
3bab25d7d5
4 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue