)]}'
{
  "commit": "53692df2b82f9d5ce15779da7d5227f1b027e193",
  "tree": "98ee5b34e115f23fe359052b371c2b28a3979e3a",
  "parents": [
    "394d5d31b0d3096aed4513bdacf48fb73003f1df"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Sun Mar 28 15:15:47 2021 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Mar 28 19:03:10 2021 -0700"
  },
  "message": "fsck.c: add an fsck_set_msg_type() API that takes enums\n\nChange code I added in acf9de4c94e (mktag: use fsck instead of custom\nverify_tag(), 2021-01-05) to make use of a new API function that takes\nthe fsck_msg_{id,type} types, instead of arbitrary strings that\nwe\u0027ll (hopefully) parse into those types.\n\nAt the time that the fsck_set_msg_type() API was introduced in\n0282f4dced0 (fsck: offer a function to demote fsck errors to warnings,\n2015-06-22) it was only intended to be used to parse user-supplied\ndata.\n\nFor things that are purely internal to the C code it makes sense to\nhave the compiler check these arguments, and to skip the sanity\nchecking of the data in fsck_set_msg_type() which is redundant to\nchecks we get from the compiler.\n\nSigned-off-by: Ævar Arnfjörð Bjarmason \u003cavarab@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "96e63bc772ae2f051b629edc4f76f6634edce671",
      "old_mode": 33188,
      "old_path": "builtin/mktag.c",
      "new_id": "dddcccdd368328261db51d47b3b5a7b444fbaca5",
      "new_mode": 33188,
      "new_path": "builtin/mktag.c"
    },
    {
      "type": "modify",
      "old_id": "23a77fe2e0fbd4fa7b05bdbaa72b430ba1deca0f",
      "old_mode": 33188,
      "old_path": "fsck.c",
      "new_id": "a59832a1650850a937cfe7c1b754f3c9c5ae3725",
      "new_mode": 33188,
      "new_path": "fsck.c"
    },
    {
      "type": "modify",
      "old_id": "fa2d4955ab3b04308eb738d83ad080c9b25bf1a3",
      "old_mode": 33188,
      "old_path": "fsck.h",
      "new_id": "d284bac361498e6fb418c973c59941667d01798b",
      "new_mode": 33188,
      "new_path": "fsck.h"
    }
  ]
}
