Re: [PATCH resend] status: make coloring of "-z --short" consistent
- From
Jeff King <peff@peff.net>
- Date
- Oct 18, 2025, 09:50 UTC
- Message-ID
- <20251018095026.GD1060824@coredump.intra.peff.net>
- In-Reply-To
- <5y1mZIuIa13McbaoEhdBCm8CNMyjkJ6UE39s0kB-rYSmAmuPFnAof5fNVatncDUXIRoMvlpdbId3nFn2dnwU8NwNk78XArUYCf3RncWHu6c=@protonmail.com>
On Sat, Oct 18, 2025 at 06:01:07AM +0000, Langbart wrote:
> Thanks for the patch. Agreed, Retaining the colors is very useful, > allowing me to pipe the colored output to other tools. > > git -c color.status=always status --short -z | fzf --read0
Thanks, my intuition is that something like that could be useful, but I didn't have a concrete example. That one is perfect.
(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).
-Peff