Git Status Short Output Color Inconsistency with -z Flag
- From
- Langbart <langbart@protonmail.com>
- Date
- Oct 5, 2025, 00:48 UTC
- Message-ID
- <XCDlwEkTlgoZIyIf_8BfOGl1C3C63Ioxeib4BRNJ9Jm_CtYWKT3qu-pDaeXVtS1Ifq6E4pT9G0yDbIS_nSwN-uiBuBNAlMyrOv0R1RyM7oc=@protonmail.com>
What did you do before the bug happened? (Steps to reproduce your issue)
1. Create an untracked file and modify an existing tracked file 2. Run: git status --short -z
What did you expect to happen? (Expected behavior)
All status markers have colors disabled
What happened instead? (Actual behavior)
- Modified marker (`M`) appears colored - Untracked marker (`??`) appears *uncolored*
Related patch:
https://lore.kernel.org/git/cover.1260025135.git.git@drmicha.warpmail.net/T/#u
git version 2.51.0