* Colorize output
@ 2013-11-07 18:10 Nicolas
2013-11-07 18:32 ` John Keeping
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas @ 2013-11-07 18:10 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
Hello,
I’m developping a git command in shell and I would like colorize the output.
I don’t find anything in git-sh-setup.
What is the best way for don’t reinvent the wheel?
Thanks in advance.
Best regards.
Nicolas.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 551 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Colorize output
2013-11-07 18:10 Colorize output Nicolas
@ 2013-11-07 18:32 ` John Keeping
0 siblings, 0 replies; 2+ messages in thread
From: John Keeping @ 2013-11-07 18:32 UTC (permalink / raw)
To: Nicolas; +Cc: git
On Thu, Nov 07, 2013 at 07:10:11PM +0100, Nicolas wrote:
> I’m developping a git command in shell and I would like colorize the output.
>
> I don’t find anything in git-sh-setup.
>
> What is the best way for don’t reinvent the wheel?
I normally use "git config --get-color ..." either with standard colors
if my command is close to a standard command or with my own config keys
and sensible defaults.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 18:10 Colorize output Nicolas
2013-11-07 18:32 ` John Keeping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).