)]}'
{
  "commit": "0846456f3a9fda8ff5469d9d0b9700837ff16f04",
  "tree": "1e03f2219253afb74df422b5889861cf95309c40",
  "parents": [
    "7cc06ea5c7c3b36801421a6be17b51b92c1bc05a"
  ],
  "author": {
    "name": "Benjamin Berg",
    "email": "bberg@redhat.com",
    "time": "Tue Mar 01 15:08:38 2022 +0100"
  },
  "committer": {
    "name": "Tormod Volden",
    "email": "debian.tormod@gmail.com",
    "time": "Wed Mar 16 17:53:00 2022 +0100"
  },
  "message": "core: Suppress hotplug events during initial enumeration\n\nThe initial enumeration should not result in hotplug events to be fired.\nThis is just a convenience though, API users still need to be prepared\nto be notified a second time for a device that was plugged in between\nlibusb_init and libusb_hotplug_register_callback.\n\nThis regressed with commit 6929b82 (\"Fix segmentation fault in\nlibusb_init() if usbi_backend.init() fails\"). This commit avoids the\nmentioned segmentation fault by avoiding to clean up the hotplug code if\nit was not yet initialised.\n\nFixes #1082\nCloses #1090\nReferences #989\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c1ada14cc87890fc1a2fa8c1b3d07b3dc1fa491",
      "old_mode": 33188,
      "old_path": "libusb/core.c",
      "new_id": "3559470e13fd78cb95d6caded26c25fafb3d5c94",
      "new_mode": 33188,
      "new_path": "libusb/core.c"
    },
    {
      "type": "modify",
      "old_id": "402e693ac3797f5d21b55c2ab8907d0c56db50c9",
      "old_mode": 33188,
      "old_path": "libusb/hotplug.c",
      "new_id": "6b743c70442e42080338bf92b8ee21630522ca35",
      "new_mode": 33188,
      "new_path": "libusb/hotplug.c"
    },
    {
      "type": "modify",
      "old_id": "7bf6ace79a5a6dec757f268ba14208347095cfa4",
      "old_mode": 33188,
      "old_path": "libusb/version_nano.h",
      "new_id": "10c3ecf89ea6aee2dafa43112dd426cf0949fac2",
      "new_mode": 33188,
      "new_path": "libusb/version_nano.h"
    }
  ]
}
