)]}'
{
  "commit": "a861abbd6ddd5cbe730eaf041a7fdaad8e6b78a0",
  "tree": "80596f853b47f778899cfe3857df2d7b8d1f5f08",
  "parents": [
    "a018953688f1b10bddf91bff8747068f5f4746a4"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Fri Oct 30 20:25:50 2026 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Nov 01 09:45:31 2026 -0800"
  },
  "message": "t5702: be more resilient to env quoting\n\nA few tests in t5702 check whether we specify the v2 protocol via the\nGIT_PROTOCOL environment variable. They do this by redirecting the\noutput of \"env\" into a file and grepping it. But our exact pattern\ndepends on how env quotes its output. GNU coreutils 9.10 will output\nthis:\n\n  GIT_PROTOCOL\u003dversion\u003d2\n\nbut version 9.12 will output this:\n\n  GIT_PROTOCOL\u003d\u0027version\u003d2\u0027\n\nIt doesn\u0027t quote every variable, but the presence of \"\u003d\" now triggers\nit. We could loosen our regex to accommodate both versions, but there\u0027s\na simpler fix. We only care about the value of one variable, so we can\njust print it using the shell invoked for the server-side command.\n\nNote that this new formula is slightly less strict: it allows\nGIT_PROTOCOL as an empty string in addition to it being missing. But\nthat\u0027s OK; they both mean the same thing to the child Git process.\n\nLikewise, it\u0027s actually more strict when we do expect the v2 protocol:\nit checks the contents of the whole GIT_PROTOCOL rather than a partial\ngrep. In practice it\u0027s the same for now (we only ever set protocol\u003d2),\nbut I think in the long run being strict is better (if we do add\nsomething else, the test will break and we can consider how to handle it\nthen).\n\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": "7e69ba7f84328730e3f5749673e4dbc89bc22347",
      "old_mode": 33261,
      "old_path": "t/t5702-protocol-v2.sh",
      "new_id": "a66adfbc3b9035301dc5d3698c235328bfa8b988",
      "new_mode": 33261,
      "new_path": "t/t5702-protocol-v2.sh"
    }
  ]
}
