)]}'
{
  "commit": "d42410b21c4314143f31fd7f8494dd1d4c279663",
  "tree": "3794d2e69c47b9b31ef56a36c7ff11d2b83ccad1",
  "parents": [
    "aa6ec9d92e9109510650d121db7cc7bee76638a0"
  ],
  "author": {
    "name": "Chris Dickens",
    "email": "christopher.a.dickens@gmail.com",
    "time": "Mon Aug 17 14:15:10 2020 -0700"
  },
  "committer": {
    "name": "Chris Dickens",
    "email": "christopher.a.dickens@gmail.com",
    "time": "Mon Aug 17 14:15:10 2020 -0700"
  },
  "message": "Windows: Improve how root hubs are reported\n\nMicrosoft provides very little information about the actual root hub\ncharacterstics beyond the number of ports. Determining the maximum\nsupported speed of the root hub is not directly possible but instead\nrequires that a device matching the highest speed of the root hub is\nconnected. Additionally, Windows 8 or later is required for _any_\nsuccessful detection of SuperSpeed devices.\n\nOne other inconvenience is that there are no descriptors exposed for\nroot hubs. This does not fit well with the structure of the library\nbecause root hubs are considered first-class devices.\n\nThis change addresses some of these shortcomings. Each root hub is now\ngiven a configuration descriptor that is matched to the fastest speed\ndetected for the root hub. The information is most accurate on Windows 8\nor later, but the best information possible is constructed on earlier\nversions. The device descriptor is also adjusted accordingly based on\nthe detected speed.\n\nThis solution is not perfect but is better than the status quo.\n\nCloses #688\n\nSigned-off-by: Chris Dickens \u003cchristopher.a.dickens@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "75088c6ead5e5cba89846ddbf2133e784268a9d9",
      "old_mode": 33188,
      "old_path": "libusb/os/windows_winusb.c",
      "new_id": "39ba3e79ab04c52da37ee418e78a146e9453d3dd",
      "new_mode": 33188,
      "new_path": "libusb/os/windows_winusb.c"
    },
    {
      "type": "modify",
      "old_id": "88863ff68e9758c4fd211782bd906000a146f827",
      "old_mode": 33188,
      "old_path": "libusb/os/windows_winusb.h",
      "new_id": "49355d4ade9c8bca486628b2278e24685df8d779",
      "new_mode": 33188,
      "new_path": "libusb/os/windows_winusb.h"
    },
    {
      "type": "modify",
      "old_id": "46e8daf2046a48860e57625fab0894a0fb5c1898",
      "old_mode": 33188,
      "old_path": "libusb/version_nano.h",
      "new_id": "bee411732aa6cf3c4882aa3265e30886caf8c8a7",
      "new_mode": 33188,
      "new_path": "libusb/version_nano.h"
    }
  ]
}
