git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it possible to configure the color of git diff outpyut
@ 2009-07-17 16:35 n179911
  2009-07-17 16:51 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: n179911 @ 2009-07-17 16:35 UTC (permalink / raw)
  To: git

Hi,

When I do git diff, for example, it has color output (red for "-" and
green for "+").
Can you please tell me how can I change the color used?

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is it possible to configure the color of git diff outpyut
  2009-07-17 16:35 Is it possible to configure the color of git diff outpyut n179911
@ 2009-07-17 16:51 ` Junio C Hamano
  2009-07-17 17:45   ` Mike Hommey
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2009-07-17 16:51 UTC (permalink / raw)
  To: n179911; +Cc: git

n179911 <n179911@gmail.com> writes:

> When I do git diff, for example, it has color output (red for "-" and
> green for "+").
> Can you please tell me how can I change the color used?

Can you please tell us what resources you consulted to figure this out
yourself before asking your question on this list?  I am not complaining;
I am trying to see how a "typical" user finds information on our software,
so that we can potentially optimize our documentation set to make it
easier to find answers to common questions.

The answer to your question is found by looking for color.diff.<slot> in
"git help config".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is it possible to configure the color of git diff outpyut
  2009-07-17 16:51 ` Junio C Hamano
@ 2009-07-17 17:45   ` Mike Hommey
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Hommey @ 2009-07-17 17:45 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: n179911, git

On Fri, Jul 17, 2009 at 09:51:46AM -0700, Junio C Hamano wrote:
> n179911 <n179911@gmail.com> writes:
> 
> > When I do git diff, for example, it has color output (red for "-" and
> > green for "+").
> > Can you please tell me how can I change the color used?
> 
> Can you please tell us what resources you consulted to figure this out
> yourself before asking your question on this list?  I am not complaining;
> I am trying to see how a "typical" user finds information on our software,
> so that we can potentially optimize our documentation set to make it
> easier to find answers to common questions.

I think it would make sense to have reference to configuration items
that have a special impact on commands in their manual pages. Or at
least a "See Also" section mentioning "git-config".

Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-17 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 16:35 Is it possible to configure the color of git diff outpyut n179911
2009-07-17 16:51 ` Junio C Hamano
2009-07-17 17:45   ` Mike Hommey

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).