git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-status: colorize status output

From
JBJoel Becker <joel.becker@oracle.com>
Date
Aug 6, 2006, 05:01 UTC
Message-ID
<20060806050138.GN23246@ca-server1.us.oracle.com>
In-Reply-To
<20060805031418.GA11102@coredump.intra.peff.net>
On Fri, Aug 04, 2006 at 11:14:19PM -0400, Jeff King wrote:
Show 7 quoted lines
> The git-status output can sometimes be very verbose, making it difficult to
> quickly see whether your files are updated in the index. This adds 4 levels
> of colorizing to the status output:
>   - general header (defaults to normal white)
>   - updated but not committed (defaults to green)
>   - changed but not updated (defaults to red)
>   - untracked files (defaults to red)
Please do one of two things:
1) Add code to discover a terminal is white-on-black and use bright colors
or
2) Default this to off.

I like the idea of colors, but the colors most people use in black-on-white terminals are invisible on my screen. colorls has the same problem.

Joel
-- 
"What no boss of a programmer can ever understand is that a programmer
 is working when he's staring out of the window"
	- With apologies to Burton Rascoe


Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
Previous: Matthias LederhoferNext: Jeff King
Message 20 of 21 in “git-status: colorize status output”
  1. git-status: colorize status outputJeff King, Aug 5, 2006
  2. Jeff KingAug 5, 2006
  3. Greg KHAug 5, 2006
  4. Junio C HamanoAug 5, 2006
  5. Jeff KingAug 5, 2006
  6. Jeff KingAug 5, 2006
  7. Matthias LederhoferAug 5, 2006
  8. Junio C HamanoAug 5, 2006
  9. Junio C HamanoAug 5, 2006
  10. Matthias LederhoferAug 5, 2006
  11. Junio C HamanoAug 5, 2006
  12. Matthias LederhoferAug 5, 2006
  13. Jeff KingAug 5, 2006
  14. Matthias LederhoferAug 5, 2006
  15. Jeff KingAug 5, 2006
  16. Jeff KingAug 5, 2006
  17. Sam RavnborgAug 7, 2006
  18. Jeff KingAug 5, 2006
  19. Matthias LederhoferAug 5, 2006
  20. Joel BeckerAug 6, 2006
  21. Jeff KingAug 6, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.