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

Re: [PATCH resend] status: make coloring of "-z --short" consistent

From
LLangbart <langbart@protonmail.com>
Date
Oct 18, 2025, 15:08 UTC
Message-ID
<m-o4xSH-_z7mD-3ehDnJCp-J3JOsEeo65xRb3BxywaB3voOguES48T4E-mjZwdmqwcP-TxF6kcr6nKMU6YE2z8SkncQl5jXDqdFH6xcl6S0=@protonmail.com>
In-Reply-To
<20251018095026.GD1060824@coredump.intra.peff.net>
> Thanks, my intuition is that something like that could be useful, but I
> didn't have a concrete example. That one is perfect.
Great, I'll pass it to the fzf maintainer, who proposed it.
> (If anybody tries the above, note that I needed to add "--ansi" for it
> to look nice in fzf. But I don't usually use that program, so I imagine
> there's a way to configure it to do that by default).
You're right. I only set it in my environment variable:
export FZF_DEFAULT_OPTS="--ansi"

Thanks for the fix and for being active here. I've come across your name a few times while searching the git.vger.kernel.org archive mirror for issues, and I've always appreciated your thoughtful replies.

Previous: Jeff King
Message 7 of 7 in “Git Status Short Output Color Inconsistency with -z Flag”
  1. LangbartOct 5, 2025
  2. Jeff KingOct 7, 2025
  3. status: make coloring of "-z --short" consistentJeff King, Oct 7, 2025
  4. status: make coloring of "-z --short" consistentJeff King, Oct 17, 2025
  5. LangbartOct 18, 2025
  6. Jeff KingOct 18, 2025
  7. LangbartOct 18, 2025

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.