)]}'
{
  "commit": "50927f4f683a35ad1c76c8a02a1759a076d3f8f8",
  "tree": "4f08464434e4a6a24de938b0de29f699e6606e8c",
  "parents": [
    "c44beea485f0f2feaf460e2ac87fdd5608d63cf0"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Fri Oct 17 04:44:55 2025 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Oct 17 14:30:42 2025 -0700"
  },
  "message": "status: make coloring of \"-z --short\" consistent\n\nWhen running \"git status -z --short\", the marker on modified index\nentries (e.g., \"M\") is colorized, but the \"??\" marker for untracked\nentries is not. Let\u0027s fix the \"??\" entries to show color here.\n\nAt first glance you might think that neither should be colorized, as\nusually one would use \"-z\" to get machine-readable output. But this is a\ntricky and unusual case. We have two output formats, \"--short\" and\n\"--porcelain\" which are substantially similar, but differ in that\n\"--short\" is for humans who want something short and \"--porcelain\" is\nfor machines. And \"-z\" by itself, without any other output option, does\ndefault to \"--porcelain\", so \"git status -z\" will not colorize anything.\n\nBut if you explicitly ask for \"-z\" and \"--short\" together, then that is\nasking for the human-readable output, but separated by NULs. This is\nunlikely to be useful directly, but could for example be used if the\noutput will be shown to a human outside of the terminal. At any rate,\nthe current behavior is clearly wrong (since we colorize some things but\nnot others), and I think colorizing everything is the least-surprising\nthing we can do here.\n\nReported-by: Langbart \u003cLangbart@protonmail.com\u003e\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cdc1d6fcc78f490f9ea2309f30b0f710e65a3748",
      "old_mode": 33261,
      "old_path": "t/t7508-status.sh",
      "new_id": "abad229e9d9edae744a3c9bbae9d1b2fc0091248",
      "new_mode": 33261,
      "new_path": "t/t7508-status.sh"
    },
    {
      "type": "modify",
      "old_id": "454601afa15a951adb6b70ae0687485a4448ed68",
      "old_mode": 33188,
      "old_path": "wt-status.c",
      "new_id": "d6917f0a832d8064dc08cf2ab44ca8cd3b966caa",
      "new_mode": 33188,
      "new_path": "wt-status.c"
    }
  ]
}
