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

Re: [PATCH 2/2] color: support "default" to restore fg/bg color

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 28, 2021, 16:41 UTC
Message-ID
<xmqq4k91t834.fsf@gitster.g>
In-Reply-To
<CAMmwyQor1AekB9cCUE3osLJeb2r_w0q0T1JqUcNFk6L=7O2-Jg@mail.gmail.com>
Robert Estelle <robertestelle@gmail.com> writes:
Show 11 quoted lines
> Those are good examples. Note that this applies to more cases than
> those relying on transparency or patterns: color terms often have
> defaults that are not identical to their ANSI palette. I suspect
> *most* themes are probably this way, based on a quick sampling.
>
> You can see a bunch of examples here:
> https://github.com/mbadolato/iTerm2-Color-Schemes#screenshots in all
> the themes where the background color in the "40m" column isn't the
> same as the unset column before it. (All of Terminal.app's built-in
> themes are that way; I know xterm defaults to black on white vs white
> on black; and so on).

I think you are wasting your time giving these to _us_ on the list who happen to already understand what the issue you are attempting to fix with these patches. The suggestion was that you would help future readers of "git log" if you wrote even just one or a few of them in your proposed log message. Those who will be digging the history, perhaps they want to fix something in near-by code, may not be aware of this discussion but the log message is a good place to leave a note for them.

Thanks.
Previous: Robert EstelleNext: Robert Estelle
Message 7 of 8 in “color: support "default" to restore fg/bg color”
  1. 0/2 color: support "default" to restore fg/bg colorRobert Estelle via GitGitGadget, Oct 25, 2021
  2. 1/2 color: add missing GIT_COLOR_* white/black constantsRobert Estelle via GitGitGadget, Oct 25, 2021
  3. 2/2 color: support "default" to restore fg/bg colorRobert Estelle via GitGitGadget, Oct 25, 2021
  4. brian m. carlsonOct 25, 2021
  5. Junio C HamanoOct 25, 2021
  6. Robert EstelleOct 26, 2021
  7. Junio C HamanoOct 28, 2021
  8. Robert EstelleOct 28, 2021

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.