)]}'
{
  "commit": "447126ed7df66b396235766547a57649f925aac2",
  "tree": "f130ecd06bdfb3fd8734defd697f91cc9df9f594",
  "parents": [
    "88efab5c3b7b7585a3b4f45db89c108fef9a04f2"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Tue Jul 28 11:14:58 2026 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jul 28 09:12:24 2026 -0700"
  },
  "message": "diff-lib: add idx/tree sanity check to oneway_diff\n\nWhen looking just at the code in oneway_diff(), it seems possible for\nboth \"idx\" and \"tree\" to be NULL, in which case we\u0027d potentially\nsegfault while checking the relative prefix.\n\nBut if you consider what these items actually mean, it shouldn\u0027t be\npossible for both to be NULL. Let\u0027s add an assertion and a comment\ndocumenting this. It might help human readers, but should also silence\nstatic analyzers like Coverity which complain about the potential\nsegfault.\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": "a23119b852201270fe2b4e7e91cb726d1ed3249b",
      "old_mode": 33188,
      "old_path": "diff-lib.c",
      "new_id": "0e868b28b6b0042c0d2f04150426beefeb574414",
      "new_mode": 33188,
      "new_path": "diff-lib.c"
    }
  ]
}
