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

Re: Custom subcommand help handlers

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 24, 2021, 00:16 UTC
Message-ID
<xmqqh7ay6en7.fsf@gitster.g>
In-Reply-To
<032aced5-4c50-76f7-9ab6-580ffa5775a5@iee.email>
Philip Oakley <philipoakley@iee.email> writes:
Show 6 quoted lines
> They had the issue that their windows users, using Git for Windows, do
> not have the `man` package installed. Rather the `web` help of using the
> .html version of the man page is used (needs administrator install in
> some case). So user commands would need to provide both the man page for
> Linux systems and some process to get the html equivalent into the right
> folder - this latter case was the problem step.

So are they willing to prepare `web` help pages, because that is what the users of Git for Windows are already familiar with, if "git foo --help" is capable of showing it, just like "git commit --help" shows the `web` help page for the subcommand?

As I said elsewhere on this thread, lack of equivalent for MANPATH and INFOPATH makes `web` help harder to customize in that direction, but that is a problem we can solve in our code. Once it is there, they can let the user install their `web` help pages into somewhere the user has write access to and point at the "folder" with GIT_HTMLPATH, I would presume?

Thanks.
Previous: Philip OakleyNext: Philip Oakley
Message 13 of 20 in “Custom subcommand help handlers”
  1. Sean AllredDec 18, 2021
  2. Ævar Arnfjörð BjarmasonDec 20, 2021
  3. Erik Cervin EdinDec 20, 2021
  4. brian m. carlsonDec 20, 2021
  5. Junio C HamanoDec 20, 2021
  6. Erik Cervin EdinDec 21, 2021
  7. Johannes SchindelinDec 22, 2021
  8. Junio C HamanoDec 22, 2021
  9. Erik Cervin EdinDec 22, 2021
  10. Junio C HamanoDec 23, 2021
  11. Erik Cervin EdinDec 23, 2021
  12. Philip OakleyDec 23, 2021
  13. Junio C HamanoDec 24, 2021
  14. Philip OakleyDec 24, 2021
  15. Sean AllredFeb 12, 2022
  16. Johannes SchindelinDec 20, 2021
  17. Ævar Arnfjörð BjarmasonDec 21, 2021
  18. Johannes SchindelinDec 22, 2021
  19. Ævar Arnfjörð BjarmasonDec 22, 2021
  20. Sean AllredFeb 12, 2022

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.