)]}'
{
  "commit": "716a6b2c3a54779e1e6f115a5950511d019f4d17",
  "tree": "0536ae9ead3e6b9cf8a93faba8274d616a94d45a",
  "parents": [
    "ec97ad120caad0c7366a19a6680d37e2b8c5107c"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Tue Oct 03 16:27:24 2023 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Oct 03 14:28:24 2023 -0700"
  },
  "message": "merge: free result of repo_get_merge_bases()\n\nWe call repo_get_merge_bases(), which allocates a commit_list, but never\nfree the result, causing a leak.\n\nThe obvious solution is to free it, but we need to look at the contents\nof the first item to decide whether to leave the loop. One option is to\nfree it in both code paths. But since the commit that the list points to\nis longer-lived than the list itself, we can just dereference it\nimmediately, free the list, and then continue with the existing logic.\nThis is about the same amount of code, but keeps the list management all\nin one place.\n\nThis lets us mark a number of merge-related test scripts as leak-free.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fd21c0d4f4b88ee2c26b7ba4b1206c20357c17ea",
      "old_mode": 33188,
      "old_path": "builtin/merge.c",
      "new_id": "ac4816c14ecbfae5dd61ff8af43eedbcc509f47b",
      "new_mode": 33188,
      "new_path": "builtin/merge.c"
    },
    {
      "type": "modify",
      "old_id": "f70c46bbbfa2c8fc9cc5ca1b620c9a80f29e382e",
      "old_mode": 33261,
      "old_path": "t/t4214-log-graph-octopus.sh",
      "new_id": "79055978690962fc3b58cd754a9383a88148f0f9",
      "new_mode": 33261,
      "new_path": "t/t4214-log-graph-octopus.sh"
    },
    {
      "type": "modify",
      "old_id": "28d0779a8c599ee9eab9b0b31afe1a57bb558c28",
      "old_mode": 33261,
      "old_path": "t/t4215-log-skewed-merges.sh",
      "new_id": "b877ac723516dc710fd42c17b65877d795d874ff",
      "new_mode": 33261,
      "new_path": "t/t4215-log-skewed-merges.sh"
    },
    {
      "type": "modify",
      "old_id": "5a67bbc760fdc8c2b53dc7721a144e033bf8e934",
      "old_mode": 33261,
      "old_path": "t/t6009-rev-list-parent.sh",
      "new_id": "ced40157ed68c077c17cb4758d1ebbc529e67d9c",
      "new_mode": 33261,
      "new_path": "t/t6009-rev-list-parent.sh"
    },
    {
      "type": "modify",
      "old_id": "17b54d625d0e468047377c378faae25c50633c9b",
      "old_mode": 33261,
      "old_path": "t/t6416-recursive-corner-cases.sh",
      "new_id": "5f414abc89267d3f3729366d67f8b7d6aec52c37",
      "new_mode": 33261,
      "new_path": "t/t6416-recursive-corner-cases.sh"
    },
    {
      "type": "modify",
      "old_id": "b16031465f34b20600cadd51c2f620ec64ae0e54",
      "old_mode": 33261,
      "old_path": "t/t6433-merge-toplevel.sh",
      "new_id": "2b42f095dcba5b228a60cb6ce2ea5678e611c893",
      "new_mode": 33261,
      "new_path": "t/t6433-merge-toplevel.sh"
    },
    {
      "type": "modify",
      "old_id": "c9a86f2e947e4a2943438cc5adcaaeab39a465d9",
      "old_mode": 33261,
      "old_path": "t/t6437-submodule-merge.sh",
      "new_id": "daa507862c65ea73d39c555ed2c316503094be49",
      "new_mode": 33261,
      "new_path": "t/t6437-submodule-merge.sh"
    },
    {
      "type": "modify",
      "old_id": "ff085b086cc38f36a180e22ab02bbea12a29cc0c",
      "old_mode": 33261,
      "old_path": "t/t7602-merge-octopus-many.sh",
      "new_id": "3669d33bd5a15fc19fbfd2cbea14507c8e273642",
      "new_mode": 33261,
      "new_path": "t/t7602-merge-octopus-many.sh"
    },
    {
      "type": "modify",
      "old_id": "4887ca705b330e8cbf6f25595cbcadfdfd67f9f2",
      "old_mode": 33261,
      "old_path": "t/t7603-merge-reduce-heads.sh",
      "new_id": "0e85b21ec82cc64e7d1e519c269a9bdcb189e01b",
      "new_mode": 33261,
      "new_path": "t/t7603-merge-reduce-heads.sh"
    },
    {
      "type": "modify",
      "old_id": "89a62ac53b3d6012d13b3b1ce0dfa97d494060f2",
      "old_mode": 33261,
      "old_path": "t/t7607-merge-state.sh",
      "new_id": "9001674f2ea2201836613e4909d9442062f609f4",
      "new_mode": 33261,
      "new_path": "t/t7607-merge-state.sh"
    },
    {
      "type": "modify",
      "old_id": "0b908ab2e7128052a0513e740b54ba308b9feadc",
      "old_mode": 33261,
      "old_path": "t/t7608-merge-messages.sh",
      "new_id": "2179938c437e47552eccb7af85fa3e4669ccc1bf",
      "new_mode": 33261,
      "new_path": "t/t7608-merge-messages.sh"
    }
  ]
}
