git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH RESEND] archive: rewrite description for compression level option

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Oct 14, 2021, 12:02 UTC
Message-ID
<20211014120233.7834-1-bagasdotme@gmail.com>

Currently, the description of compression level option (`-<number>` or `-#`) only specifies two level (`-0` and `-9`), giving the impression that only both levels are accepted, although other level number can be specified. Rewrite the description.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/git-archive.txt | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 9f8172828d..097b999bbd 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -93,12 +93,11 @@ BACKEND EXTRA OPTIONS
 
 zip
 ~~~
--0::
-	Store the files instead of deflating them.
--9::
-	Highest and slowest compression level.  You can specify any
-	number from 1 to 9 to adjust compression speed and ratio.
-
+-<number>::
+	Select the compression level. Higher number indicates better
+	compression at the expense of longer time to compress. Valid
+	values are from 0 to 9. If 0 is selected, the files will be
+	stored without compressing.
 
 CONFIGURATION
 -------------

base-commit: 2bd2f258f4195ac54293a3f45b86457c0bd5fc11
-- 
An old man doll... just what I always wanted! - Clara
Next: Junio C Hamano
Message 1 of 5 in “archive: rewrite description for compression level option”
  1. archive: rewrite description for compression level optionBagas Sanjaya, Oct 14, 2021
  2. Junio C HamanoOct 14, 2021
  3. Bagas SanjayaOct 15, 2021
  4. Ævar Arnfjörð BjarmasonOct 15, 2021
  5. Junio C HamanoOct 15, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.