archive: describe compression level option
Describe the only <extra> option in `git archive`, that is the compression level option. Previously this option is only described for zip backend; add description also for tar backend. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
af6d1d602a
commit
c4b208c309
@ -93,12 +93,19 @@ BACKEND EXTRA OPTIONS
|
|||||||
|
|
||||||
zip
|
zip
|
||||||
~~~
|
~~~
|
||||||
-0::
|
-<digit>::
|
||||||
Store the files instead of deflating them.
|
Specify compression level. Larger values allow the command
|
||||||
-9::
|
to spend more time to compress to smaller size. Supported
|
||||||
Highest and slowest compression level. You can specify any
|
values are from `-0` (store-only) to `-9` (best ratio).
|
||||||
number from 1 to 9 to adjust compression speed and ratio.
|
Default is `-6` if not given.
|
||||||
|
|
||||||
|
tar
|
||||||
|
~~~
|
||||||
|
-<number>::
|
||||||
|
Specify compression level. The value will be passed to the
|
||||||
|
compression command configured in `tar.<format>.command`. See
|
||||||
|
manual page of the configured command for the list of supported
|
||||||
|
levels and the default level if this option isn't specified.
|
||||||
|
|
||||||
CONFIGURATION
|
CONFIGURATION
|
||||||
-------------
|
-------------
|
||||||
|
Loading…
Reference in New Issue
Block a user