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

Re: [PATCH] git help: promote 'git help -av'

From
Duy Nguyen <pclouds@gmail.com>
Date
Sep 25, 2018, 15:15 UTC
Message-ID
<CACsJy8D1EMCqvBdxbta4oocMF33jwDf1=opXwZ0aRN7LYu=JXg@mail.gmail.com>
In-Reply-To
<xmqq4leesjdc.fsf@gitster-ct.c.googlers.com>
On Mon, Sep 24, 2018 at 10:58 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> I personally find "help -av" a bit too loud to my taste than plain
> "-a", and more importantly, I look at "help -a" primarily to check
> the last section "avaialble from elsewhere on your $PATH" to find
> things like "clang-format", which I do not think is available
> anywhere in "help -av", so I do not think "-av" can be promoted as
> an upward-compatible replacement in its current form.

Yep. I also thought "help -a" was denser but wasn't sure if it actually helps or not. Whenever I look at that block of commands, I end up searching anyway. For my use case, "help -a" could be better served with something like "git apropos".

I think adding another section about external commands in "help -av" would address the "clang-format" stuff. With that, it's probably good enough to completely replace "help -a". It may also be good to list aliases there too in a separate section so you have "all you can type" in one (big) list. -- Duy

Previous: Junio C HamanoNext: Duy Nguyen
Message 8 of 18 in “git help: promote 'git help -av'”
  1. git help: promote 'git help -av'Nguyễn Thái Ngọc Duy, Sep 22, 2018
  2. Ævar Arnfjörð BjarmasonSep 22, 2018
  3. Duy NguyenSep 23, 2018
  4. Jeff KingSep 24, 2018
  5. Taylor BlauSep 24, 2018
  6. Jeff KingSep 24, 2018
  7. Junio C HamanoSep 24, 2018
  8. Duy NguyenSep 25, 2018
  9. Duy NguyenSep 25, 2018
  10. Jeff KingSep 25, 2018
  11. Duy NguyenSep 26, 2018
  12. Junio C HamanoSep 26, 2018
  13. Junio C HamanoSep 26, 2018
  14. Taylor BlauSep 28, 2018
  15. Junio C HamanoSep 28, 2018
  16. Taylor BlauSep 28, 2018
  17. help -a: improve and make --verbose defaultNguyễn Thái Ngọc Duy, Sep 29, 2018
  18. Taylor BlauOct 1, 2018

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.