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

Re: [PATCH] Colourise git-branch output

From
Linus Torvalds <torvalds@osdl.org>
Date
Dec 12, 2006, 03:39 UTC
Message-ID
<Pine.LNX.4.64.0612111936240.6452@woody.osdl.org>
In-Reply-To
<BAYC1-PASMTP092A9E80667F373BF69AA6AED70@CEZ.ICE>
On Mon, 11 Dec 2006, Sean wrote:
Show 5 quoted lines
> 
> Technically it is workable.. but why even start down the road of having
> anything but branch names after a "branch."?   There has to be a better
> spot for this variable, and it makes it more future proof, as you
> highlighted.

I do agree with Sean, both for the stability reason, but perhaps even more because I personally think it would just be better to have a separate "[color]" subsection.

In fact, I'd almost prefer to see
	[color]
		diff = auto
over
	[diff]
		color = auto

exactly because once we have different things that take colorization arguments, it's just nicer to have them all together (and we already have "status", and now we're getting "branch" too.

Previous: SeanNext: Junio C Hamano
Message 6 of 9 in “Colourise git-branch output”
  1. Colourise git-branch outputAndy Parkins, Dec 11, 2006
  2. Junio C HamanoDec 11, 2006
  3. SeanDec 12, 2006
  4. Junio C HamanoDec 12, 2006
  5. SeanDec 12, 2006
  6. Linus TorvaldsDec 12, 2006
  7. Junio C HamanoDec 12, 2006
  8. Linus TorvaldsDec 12, 2006
  9. Junio C HamanoDec 12, 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.