Re: color (red) for error messages on all git commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 24, 2010 at 23:58, Sverre Rabbelier <srabbelier@xxxxxxxxx> wrote:
> On Wed, Mar 24, 2010 at 23:44, Neal Kreitzinger <neal@xxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]