)]}'
{
  "commit": "0e75d17ff78498645bf5d71df3a14a40d2fe1298",
  "tree": "5509a0bb04d578ccd2874f95e2e71ac642bf9b01",
  "parents": [
    "3cb9185f65410273787f74333cc027d2ea5daada"
  ],
  "author": {
    "name": "Kaartic Sivaraam",
    "email": "kaartic.sivaraam@gmail.com",
    "time": "Tue Sep 15 13:59:36 2026 +0530"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Sep 15 09:21:00 2026 -0700"
  },
  "message": "builtin/history: unuse the commit buffer after use\n\nEvery call to repo_logmsg_reencode() must be paired with a call to\nrepo_unuse_commit_buffer(), or we may leak an allocated buffer. We\nhave such a leak in \"git history\", which we can fix by adding an unuse\ncall.\n\nThe leak-checking tests don\u0027t detect this because we only allocate a\nfresh buffer sometimes: when the message is reencoded, or when we had\nto load it fresh from the odb (e.g., because the commit was parsed\nfrom the commit graph rather than the object contents). But you can\nsee it by running:\n\n  make SANITIZE\u003dleak\n  cd t\n  GIT_TEST_COMMIT_GRAPH\u003d1 ./t3451-history-reword.sh\n\nHelped-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Kaartic Sivaraam \u003ckaartic.sivaraam@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "000155ad9c24d55e8f4b93bb3107f825424fce3b",
      "old_mode": 33188,
      "old_path": "builtin/history.c",
      "new_id": "4f94221b11b21cc63dbe6ac8400b48a05ca73477",
      "new_mode": 33188,
      "new_path": "builtin/history.c"
    }
  ]
}
