)]}'
{
  "commit": "d69ec483e4363819d8ce56d3e5387e8bec079a09",
  "tree": "1e44888c667ecd4fd93b53946fbdde13d122ca58",
  "parents": [
    "843047f8613da2f38f024c5b69e7e89a4ff175fb"
  ],
  "author": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Thu Sep 10 06:05:22 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Sep 10 05:19:43 2026 -0700"
  },
  "message": "mingw: rely on MSYS2\u0027s metadata instead of hard-coding it\n\nMSYS2 defines some helpful environment variables, e.g. `MSYSTEM`. There\nis code in Git for Windows to ensure that that `MSYSTEM` variable is\nset, hard-coding a default.\n\nHowever, the existing solution jumps through hoops to reconstruct the\nproper default, and is even incomplete doing so, as we found out when we\nextended it to support CLANGARM64.\n\nThis is absolutely unnecessary because there is already a perfectly\nvalid `MSYSTEM` value we can use at build time. This is even true when\nbuilding the MINGW32 variant on a MINGW64 system because `makepkg-mingw`\nwill override the `MSYSTEM` value as per the `MINGW_ARCH` array.\n\nThe same is equally true for the `/mingw64`, `/mingw32` and\n`/clangarm64` prefix: those values are already available via the\n`MINGW_PREFIX` environment variable, and we just need to pass that\nsetting through.\n\nOnly when `MINGW_PREFIX` is not set (as is the case in Git for Windows\u0027\nminimal SDK, where only `MSYSTEM` is guaranteed to be set correctly), we\nuse as fall-back the top-level directory whose name is the down-cased\nvalue of the `MSYSTEM` variable.\n\nIncidentally, this also broadens the support to all the configurations\nsupported by the MSYS2 project, i.e. clang64 \u0026 ucrt64, too.\n\nHelped-by: Johannes Sixt \u003cj6t@kdbg.org\u003e\nHelped-by: Junio C Hamano \u003cgitster@pobox.com\u003e\nSigned-off-by: Johannes Schindelin \u003cjohannes.schindelin@gmx.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "21f53e3f7e318d3f44a3df7fcea912d756c8e69b",
      "old_mode": 33188,
      "old_path": "config.mak.uname",
      "new_id": "3a90995587c48101703cb2326bb7509b482a87df",
      "new_mode": 33188,
      "new_path": "config.mak.uname"
    }
  ]
}
