)]}'
{
  "commit": "3745e2693de3dd5420221782ed050cae6ebf6fec",
  "tree": "9ece34388fd195ab49bd6522d671533dec96347c",
  "parents": [
    "c96e184cae4294a4ebd18a1bdf8d6514445f32e4"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Sun Mar 28 15:15:51 2021 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Mar 28 19:03:10 2021 -0700"
  },
  "message": "fetch-pack: use new fsck API to printing dangling submodules\n\nRefactor the check added in 5476e1efde (fetch-pack: print and use\ndangling .gitmodules, 2021-02-22) to make use of us now passing the\n\"msg_id\" to the user defined \"error_func\". We can now compare against\nthe FSCK_MSG_GITMODULES_MISSING instead of parsing the generated\nmessage.\n\nLet\u0027s also replace register_found_gitmodules() with directly\nmanipulating the \"gitmodules_found\" member. A recent commit moved it\ninto \"fsck_options\" so we could do this here.\n\nI\u0027m sticking this callback in fsck.c. Perhaps in the future we\u0027d like\nto accumulate such callbacks into another file (maybe fsck-cb.c,\nsimilar to parse-options-cb.c?), but while we\u0027ve got just the one\nlet\u0027s just put it into fsck.c.\n\nA better alternative in this case would be some library some more\nobvious library shared by fetch-pack.c ad builtin/index-pack.c, but\nthere isn\u0027t such a thing.\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": "5ad80b85b473c1f785bc7b409d99c556f64a6757",
      "old_mode": 33188,
      "old_path": "builtin/index-pack.c",
      "new_id": "11f0fafd33beb2fd86548c51944b8578128269c5",
      "new_mode": 33188,
      "new_path": "builtin/index-pack.c"
    },
    {
      "type": "modify",
      "old_id": "229fd8e2c20ba4714c5119ea06b30c89206a8dbb",
      "old_mode": 33188,
      "old_path": "fetch-pack.c",
      "new_id": "0392d36c0aa683c88c70eb8c55cadaaa07dd2e81",
      "new_mode": 33188,
      "new_path": "fetch-pack.c"
    },
    {
      "type": "modify",
      "old_id": "642bd2ef9dadff088299e58c78932312913a5c39",
      "old_mode": 33188,
      "old_path": "fsck.c",
      "new_id": "f5ed6a263583f094f973be5f7db40b2457cccf17",
      "new_mode": 33188,
      "new_path": "fsck.c"
    },
    {
      "type": "modify",
      "old_id": "e20f9bcb3940ae101c15f7d0762a334ab5a9b281",
      "old_mode": 33188,
      "old_path": "fsck.h",
      "new_id": "7202c3c87e8b94d3ba7811a21dca5cdbb46f81e5",
      "new_mode": 33188,
      "new_path": "fsck.h"
    }
  ]
}
