)]}'
{
  "commit": "394d5d31b0d3096aed4513bdacf48fb73003f1df",
  "tree": "9860250512b34cc93a11be0da1540ddbe1e0f3f7",
  "parents": [
    "44e07da8bb346c203246eae4f1a498844ee6d1ba"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Sun Mar 28 15:15:46 2021 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Mar 28 19:03:10 2021 -0700"
  },
  "message": "fsck.c: pass along the fsck_msg_id in the fsck_error callback\n\nChange the fsck_error callback to also pass along the\nfsck_msg_id. Before this change the only way to get the message id was\nto parse it back out of the \"message\".\n\nLet\u0027s pass it down explicitly for the benefit of callers that might\nwant to use it, as discussed in [1].\n\nPassing the msg_type is now redundant, as you can always get it back\nfrom the msg_id, but I\u0027m not changing that convention. It\u0027s really\ncommon to need the msg_type, and the report() function itself (which\ncalls \"fsck_error\") needs to call fsck_msg_type() to discover\nit. Let\u0027s not needlessly re-do that work in the user callback.\n\n1. https://lore.kernel.org/git/87blcja2ha.fsf@evledraar.gmail.com/\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": "17940a4e24aa48dc5f3b3a46a705fb3bf530160f",
      "old_mode": 33188,
      "old_path": "builtin/fsck.c",
      "new_id": "70ff95837aee4f40271a4de596c63dd4fa02b18f",
      "new_mode": 33188,
      "new_path": "builtin/fsck.c"
    },
    {
      "type": "modify",
      "old_id": "56b8efaa89ba8a3738b06981a581cfbd18897105",
      "old_mode": 33188,
      "old_path": "builtin/index-pack.c",
      "new_id": "2b2266a4b7debf9064efdbd56b732031b04456c2",
      "new_mode": 33188,
      "new_path": "builtin/index-pack.c"
    },
    {
      "type": "modify",
      "old_id": "052a510ad7f34423e6c75db3ba768ad837d7a87f",
      "old_mode": 33188,
      "old_path": "builtin/mktag.c",
      "new_id": "96e63bc772ae2f051b629edc4f76f6634edce671",
      "new_mode": 33188,
      "new_path": "builtin/mktag.c"
    },
    {
      "type": "modify",
      "old_id": "150fe467e4340f72740853141198f80d3b54f9a3",
      "old_mode": 33188,
      "old_path": "fsck.c",
      "new_id": "23a77fe2e0fbd4fa7b05bdbaa72b430ba1deca0f",
      "new_mode": 33188,
      "new_path": "fsck.c"
    },
    {
      "type": "modify",
      "old_id": "66c4a71139a97bc5d6ca1b1bcf814a9b1a173da9",
      "old_mode": 33188,
      "old_path": "fsck.h",
      "new_id": "fa2d4955ab3b04308eb738d83ad080c9b25bf1a3",
      "new_mode": 33188,
      "new_path": "fsck.h"
    }
  ]
}
