git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Martin Ågren" <martin.agren@gmail.com>
To: "SZEDER Gábor" <szeder.dev@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] command-list.txt: remove 'sparse-index' from main help
Date: Sun, 24 Oct 2021 19:27:43 +0200	[thread overview]
Message-ID: <CAN0heSr9atBArKnXyoJ8H0fHFaU3-+Zw9ueNsS0S2wwT+Fe7DA@mail.gmail.com> (raw)
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:
>
> 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

  reply	other threads:[~2021-10-24 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24 17:07 [PATCH] command-list.txt: remove 'sparse-index' from main help SZEDER Gábor
2021-10-24 17:27 ` Martin Ågren [this message]
2021-10-25 15:33 ` Derrick Stolee
2021-10-25 16:10 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN0heSr9atBArKnXyoJ8H0fHFaU3-+Zw9ueNsS0S2wwT+Fe7DA@mail.gmail.com \
    --to=martin.agren@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=szeder.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).