)]}'
{
  "commit": "47eb472f9c725f011be3e73372116ded71d57bbd",
  "tree": "7be45291644b15b24a89a8a2f889e08a1aa2f43a",
  "parents": [
    "ebdc087dc99d68bb340c282b2ba5f722def28d19"
  ],
  "author": {
    "name": "Okhuomon Ajayi",
    "email": "okhuomonajayi54@gmail.com",
    "time": "Thu Oct 29 09:47:20 2026 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Nov 01 09:47:18 2026 -0800"
  },
  "message": "range-diff: use diffopt-\u003erepo instead of the_repository\n\noutput_pair_header() and patch_diff() receive a diffopt whose repo\nfield names the repository to work on, yet they abbreviate object\nnames and look up commits in the_repository. get_filespec(), called\nfrom patch_diff(), also uses the_hash_algo, which is the hash\nalgorithm of the_repository. If a caller set up diffopt for another\nrepository, these functions would still read from the global one.\n\nUse diffopt-\u003erepo in output_pair_header(), and add a hash algorithm\nparameter to get_filespec() so that patch_diff() can pass\ndiffopt-\u003erepo-\u003ehash_algo.\n\nKeep USE_THE_REPOSITORY_VARIABLE because read_patches(), output() and\nis_range_diff_range() still use the_repository.\n\nSigned-off-by: Okhuomon Ajayi \u003cokhuomonajayi54@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8e2dd2eb193eb948b2e1694c4c32b5587d93ea1c",
      "old_mode": 33188,
      "old_path": "range-diff.c",
      "new_id": "3f56a4f71afddc6ff9828ef37c3f801c337bed08",
      "new_mode": 33188,
      "new_path": "range-diff.c"
    }
  ]
}
