)]}'
{
  "commit": "f2cc668e2b0c75d8baaf1b754d9a311084508db3",
  "tree": "a49321c844211bcfa8c1a36a232defdbc7fe8306",
  "parents": [
    "6693696a7dac44f2f80e89d2d0c4bebfb4543b59"
  ],
  "author": {
    "name": "Ciaran Woodward",
    "email": "ciaranwoodward@xmos.com",
    "time": "Wed Feb 12 17:57:32 2025 +0000"
  },
  "committer": {
    "name": "Ciaran Woodward",
    "email": "ciaranwoodward@xmos.com",
    "time": "Tue Feb 25 14:58:15 2025 +0000"
  },
  "message": "Fix mkdir_recursive on windows when CWD is root\n\nOn windows, when creating a directory with an absolute path,\nmkdir_recursive would start by trying to make \u0027C:\u0027.\n\nOn windows, this has a special meaning, which is \"the current\ndirectory on the C drive\". So the first thing it tries to do\nis create the current directory.\n\nMost of the time, this fails with EEXIST, so the function\ncontinues as expected. However if the current directory is\nC:/, trying to create that causes EPERM, which causes the\nfunction to prematurely terminate.\n\n(The same applies for any drive letter.)\n\nThis patch resolves this issue, by skipping the drive letter\nso that it is never sent to the mkdir call.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e07af28dc2db5975776763376d567c51de6376c",
      "old_mode": 33188,
      "old_path": "gdbsupport/filestuff.cc",
      "new_id": "eb3b3c0aade116f73e90801f85d1f09ae3a60f5b",
      "new_mode": 33188,
      "new_path": "gdbsupport/filestuff.cc"
    }
  ]
}
