)]}'
{
  "commit": "6e010bb126360d084b1c38056728c7fd3286a443",
  "tree": "799692f140211ac6f03cbe1af0a0adab732eb192",
  "parents": [
    "369cb45fc300e6a7951c5c9a65bbf0c0f6f32f16"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Mon Jun 12 15:43:56 2017 +0200"
  },
  "committer": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Mon Jun 12 17:24:53 2017 +0200"
  },
  "message": "tests: odb: allow passing fake objects to the fake backend\n\nRight now, the fake backend is quite restrained in the way how it\nworks: we pass it an OID which it is to return later as well as an error\ncode we want it to return. While this is sufficient for existing tests,\nwe can make the fake backend a little bit more generic in order to allow\nus testing for additional scenarios.\n\nTo do so, we change the backend to not accept an error code and OID\nwhich it is to return for queries, but instead a simple array of OIDs\nwith their respective blob contents. On each query, the fake backend\nsimply iterates through this array and returns the first matching\nobject.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "21b33b9398685591fbe7f2b1c2f327d68cc0fde9",
      "old_mode": 33188,
      "old_path": "tests/odb/backend/backend_helpers.c",
      "new_id": "26537029d64fce46e4364348e24512124488de54",
      "new_mode": 33188,
      "new_path": "tests/odb/backend/backend_helpers.c"
    },
    {
      "type": "modify",
      "old_id": "04bd844b2703125a0f4f00f252d1cf0c7c28593c",
      "old_mode": 33188,
      "old_path": "tests/odb/backend/backend_helpers.h",
      "new_id": "6cc1ce90df77810b8d2f73c819d35cc08fa056c8",
      "new_mode": 33188,
      "new_path": "tests/odb/backend/backend_helpers.h"
    },
    {
      "type": "modify",
      "old_id": "42da3120162b1516247fba33b5820055a889d8fd",
      "old_mode": 33188,
      "old_path": "tests/odb/backend/nonrefreshing.c",
      "new_id": "6abc0c6d217d35d8bdb8923fb248dacb0a07943b",
      "new_mode": 33188,
      "new_path": "tests/odb/backend/nonrefreshing.c"
    }
  ]
}
