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

RE: [PATCH] help: convert git_cmd to page in one place

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 26, 2021, 17:57 UTC
Message-ID
<60d76a8f5d2d6_1740d20882@natae.notmuch>
In-Reply-To
<20210626163219.4137317-1-rybak.a.v@gmail.com>
Andrei Rybak wrote:
Show 7 quoted lines
> Depending on the chosen format of help pages, git-help uses function
> show_man_page, show_info_page, or show_html_page.  The first thing all
> three functions do is to convert given `git_cmd` to a `page` using
> function cmd_to_page.
> 
> Move the common part of these three functions to function cmd_help to
> avoid code duplication.
Makes sense.
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
-- 
Felipe Contreras
Previous: Andrei RybakNext: Andrei Rybak
Message 2 of 7 in “help: convert git_cmd to page in one place”
  1. help: convert git_cmd to page in one placeAndrei Rybak, Jun 26, 2021
  2. Felipe ContrerasJun 26, 2021
  3. help: convert git_cmd to page in one placeAndrei Rybak, Jul 4, 2021
  4. Ævar Arnfjörð BjarmasonJul 5, 2021
  5. Junio C HamanoJul 6, 2021
  6. Andrei RybakJul 8, 2021
  7. Junio C HamanoJul 8, 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.