From: Alex Riesen Date: Wed, 24 Mar 2010 23:12:28 GMT Subject: Re: color (red) for error messages on all git commands Message-ID: <81b0412b1003241612m41f6ae2ctaa5b89ed37b58da2@mail.gmail.com> In-Reply-To: On Wed, Mar 24, 2010 at 23:58, Sverre Rabbelier wrote: > On Wed, Mar 24, 2010 at 23:44, Neal Kreitzinger wrote: >> Desired Solution:  configure git to display all error messages in color, >> e.g. red, so that the programmer does not overlook error messages. It is considered a good behavior for a UNIX program only to display something if there is an error. Git just tries to follow this tradition. > That's actually something I run into as well, I am so used to git just > doing what I want that I don't notice the error messages when they > occur. If this is indeed desired (probably controlled by color.warning > and color.error?) it should be fairly easy to implement (see usage.c). That said, I also like the idea. Don't forget to check for tty in the patch.