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

Re: [PATCH v4] help: colorize man pages

From
Philip Oakley <philipoakley@iee.email>
Date
May 22, 2021, 12:43 UTC
Message-ID
<362a8b5b-84cf-079d-a4c7-c714ed3a2f07@iee.email>
In-Reply-To
<YKjU+/mGzWoqe88V@coredump.intra.peff.net>
On 22/05/2021 10:55, Jeff King wrote:
Show 17 quoted lines
> On Fri, May 21, 2021 at 04:40:30PM -0500, Felipe Contreras wrote:
>
>> Jeff King wrote:
>>> On Fri, May 21, 2021 at 01:01:35PM -0500, Felipe Contreras wrote:
>>>
>>>>> I still don't understand what we gain by making this a Git feature,
>>>> What do we gain by making `git diff` output color?
>>> Huh? Git is outputting the diff. Who else would output the color?
>> Do you think our users know or care which binary has the final
>> connection to the tty?
> Yes. If we are telling them that "git help git" is using "man", which we
> do, then I think they should expect it to behave like "man".
>
> Moreover, I think that if they like colorized manpages, they'd probably
> want them when running "man" themselves.
>
> -Peff

And we have the whole Git for Windows community who don't have `man` anyway... It's a bit of a conundrum, especially when considering all the 'terminals' Windows folk maybe using.

Previous: Jeff KingNext: Felipe Contreras
Message 14 of 18 in “help: colorize man pages”
  1. help: colorize man pagesFelipe Contreras, May 20, 2021
  2. Phillip WoodMay 20, 2021
  3. Felipe ContrerasMay 20, 2021
  4. Phillip WoodMay 20, 2021
  5. Felipe ContrerasMay 20, 2021
  6. Phillip WoodMay 20, 2021
  7. Felipe ContrerasMay 21, 2021
  8. Junio C HamanoMay 21, 2021
  9. Jeff KingMay 21, 2021
  10. Felipe ContrerasMay 21, 2021
  11. Jeff KingMay 21, 2021
  12. Felipe ContrerasMay 21, 2021
  13. Jeff KingMay 22, 2021
  14. Philip OakleyMay 22, 2021
  15. Felipe ContrerasMay 22, 2021
  16. Felipe ContrerasMay 22, 2021
  17. Felipe ContrerasMay 21, 2021
  18. Leah NeukirchenMay 20, 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.