Re: Man pages have colors? A deep dive into groff
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 18, 2021, 04:35 UTC
- Message-ID
- <60a3440d3f76e_14d1bc208ed@natae.notmuch>
- In-Reply-To
- <xmqqeee44wp4.fsf@gitster.g>
Junio C Hamano wrote:
Show 16 quoted lines
> "brian m. carlson" <sandals@crustytoothpaste.net> writes: > > > As I mentioned on the patch itself, I'd prefer if Git didn't do this. I > > have my own colors configured and don't want Git to render its man > > output differently from what I have. Even if I didn't, I wouldn't want > > Git to change the output of man(1) to be different from what's on the > > system. > > > > I should point out that I have my shell configuration set up to use > > different colors depending on the capability of the terminal, such as > > using a 256-color palette when that's supported and a 16-color palette > > when it's not, so there is literally no configuration that Git can > > provide here that matches my existing settings. > > git -c color.man=false help -m" would let you consume the output in > any way you want, I would presume?
His configuration won't be overridden. He doesn't need to change a thing.
-- Felipe Contreras