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

Re: [PATCH v2] archive: rewrite description for compression level option

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Oct 16, 2021, 05:19 UTC
Message-ID
<b28a55da-c74b-8061-108f-10f9df2c0d6f@gmail.com>
In-Reply-To
<xmqq7dee8c5v.fsf@gitster.g>
On 15/10/21 23.50, Junio C Hamano wrote:
Show 13 quoted lines
> I do not think it is a good idea to remove the backend-specific
> option section like this patch does, as the next archiver may not
> even support `-<digit>`.  Even with the existing two backends, the
> description of it need to be different (cf. the other response I
> sent you last night on "--fast/--best"?).  Rather, the first thing
> to improve would be to _add_ a section for `tar` format, next to the
> `zip` format, I would think, as those who wants to write `tar` do
> not have to read `zip` specific options, and vice versa.
> 
> The new paragraph on `-#` in the patch may work as a replacement for
> existing explanation for `zip`-specific extra options, but it needs
> to drop the changes made to make it applicable to any format, like
> "depending on ... backend" and "(zip only)" if we want to take it.

In current situation, both zip and tar backend supports the compression level option, so it will end up duplicating description of the option for both backends (with slight differences).

-- 
An old man doll... just what I always wanted! - Clara
Previous: Junio C Hamano
Message 4 of 4 in “archive: rewrite description for compression level option”
  1. archive: rewrite description for compression level optionBagas Sanjaya, Oct 15, 2021
  2. Ævar Arnfjörð BjarmasonOct 15, 2021
  3. Junio C HamanoOct 15, 2021
  4. Bagas SanjayaOct 16, 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.