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

Re: What's cooking in git.git (Dec 2010, #01; Sat, 4)

From
Jeff King <peff@peff.net>
Date
Dec 5, 2010, 07:39 UTC
Message-ID
<20101205073938.GB15233@sigill.intra.peff.net>
In-Reply-To
<7voc90wx36.fsf@alter.siamese.dyndns.org>
On Sat, Dec 04, 2010 at 10:30:21PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
> * aa/status-hilite-branch (2010-11-18) 1 commit
>  - status: show branchname with a configurable color
> 
> I am indifferent/uninterested; I don't see anything wrong with it, but I
> do not find coloring the field particularly useful myself.

I am not particularly interested, either, but FWIW, the gitcommit syntax highlighting that ships with vim does highlight this, so there are at least other people who think this is a good idea.

However, I'm not sure about the default. The original patch defaulted to magenta. Your fixup defaults to "plain", but that is a regression (albeit a minor one) for people who have status.header set. I think the correct default is "the same as status.header", but that is sadly not trivial to implement because of the way we parse and store colors.

I don't know if it is worth holding up the patch. It is only a regression to the user's eyes, and it is reasonably easy for them to tweak their config.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 27 in “What's cooking in git.git (Dec 2010, #01; Sat, 4)”
  1. Junio C HamanoDec 5, 2010
  2. Jeff KingDec 5, 2010
  3. Junio C HamanoDec 5, 2010
  4. aleksi.aalto@iki.fiDec 6, 2010
  5. Jeff KingDec 9, 2010
  6. Junio C HamanoDec 10, 2010
  7. Yann DirsonDec 5, 2010
  8. Junio C HamanoDec 5, 2010
  9. Yann DirsonDec 6, 2010
  10. Miles BaderDec 6, 2010
  11. Yann DirsonDec 6, 2010
  12. Miles BaderDec 6, 2010
  13. Yann DirsonDec 6, 2010
  14. Miles BaderDec 6, 2010
  15. Yann DirsonDec 6, 2010
  16. Matthieu MoyDec 6, 2010
  17. Junio C HamanoDec 10, 2010
  18. aleksi.aalto@iki.fiDec 5, 2010
  19. Patrick RouleauDec 5, 2010
  20. Erik Faye-LundDec 5, 2010
  21. Junio C HamanoDec 5, 2010
  22. Michael J GruberDec 5, 2010
  23. Junio C HamanoDec 5, 2010
  24. Michael J GruberDec 6, 2010
  25. Thiago FarinaDec 6, 2010
  26. t9010 broken in pu [Re: What's cooking in git.git (Dec 2010, #01; Sat, 4)]Thomas Rast, Dec 8, 2010
  27. Jonathan NiederDec 8, 2010

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.