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

Re: [PATCH] command-list.txt: remove 'sparse-index' from main help

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Oct 24, 2021, 17:27 UTC
Message-ID
<CAN0heSr9atBArKnXyoJ8H0fHFaU3-+Zw9ueNsS0S2wwT+Fe7DA@mail.gmail.com>
In-Reply-To
<20211024170730.3428123-1-szeder.dev@gmail.com>
On Sun, 24 Oct 2021 at 19:08, SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 7 quoted lines
>
> Ever since 'git sparse-checkout' was introduced [1] it is included in
> 'git --help' in the section "work on the current change" along with
> the commands 'add', 'mv', 'restore', and 'rm'.  It clearly doesn't
> belong to that group, moreover it can't be considered such a common
> command to belong to 'git --help' in the first place, so remove it
> from there.

I actually spotted this in `git --help` just the other day and reacted along the same line. So for what it's worth, this patch makes sense to me.

Incidentally, this drops quite some indentation in `git --help` (because "sparse-checkout" is by far the longest subcommand listed there). After this patch, we're back within 80 columns again.

Martin
Previous: SZEDER GáborNext: Derrick Stolee
Message 2 of 4 in “command-list.txt: remove 'sparse-index' from main help”
  1. command-list.txt: remove 'sparse-index' from main helpSZEDER Gábor, Oct 24, 2021
  2. Martin ÅgrenOct 24, 2021
  3. Derrick StoleeOct 25, 2021
  4. Junio C HamanoOct 25, 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.