From: Jeff King <peff@peff•net>
To: Langbart <Langbart@protonmail•com>
Cc: "git@vger•kernel.org" <git@vger•kernel.org>
Subject: Re: [PATCH resend] status: make coloring of "-z --short" consistent
Date: Sat, 18 Oct 2025 05:50:26 -0400 [thread overview]
Message-ID: <20251018095026.GD1060824@coredump.intra.peff.net> (raw)
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
next prev parent reply other threads:[~2025-10-18 9:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-05 0:48 Git Status Short Output Color Inconsistency with -z Flag Langbart
2025-10-07 8:29 ` Jeff King
2025-10-07 20:34 ` [PATCH] status: make coloring of "-z --short" consistent Jeff King
2025-10-17 8:44 ` [PATCH resend] " Jeff King
2025-10-18 6:01 ` Langbart
2025-10-18 9:50 ` Jeff King [this message]
2025-10-18 15:08 ` Langbart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251018095026.GD1060824@coredump.intra.peff.net \
--to=peff@peff$(echo .)net \
--cc=Langbart@protonmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox