Re: [PATCH] command-list.txt: remove 'sparse-index' from main help
- From
- 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