)]}'
{
  "commit": "3c7c41d6b7ee4c4576490a3b6cfefe4d59d24172",
  "tree": "ded077f5dc3fcf925c9e941fe37a2d60c5ed8341",
  "parents": [
    "f0ef5b6d9bcc258e4cbef93839d1b7465d5212b9"
  ],
  "author": {
    "name": "Aaron Plattner",
    "email": "aplattner@nvidia.com",
    "time": "Mon Dec 08 17:48:56 2025 -0800"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Dec 09 18:12:24 2025 +0900"
  },
  "message": "object: apply skip_hash and discard_tree optimizations to unknown blobs too\n\nparse_object_with_flags() has an optimization to skip parsing blobs if\nPARSE_OBJECT_SKIP_HASH_CHECK is set and the object hasn\u0027t been seen\nbefore or might be a blob but hasn\u0027t been parsed yet. The latter can\nhappen, for example, if add_tree_entries() walks a path that references\na blob object that hasn\u0027t been seen before: lookup_blob() marks the\nreferenced oid as being a blob, but does not provide any additional\ninformation about it until it is parsed.\n\nIt\u0027s possible for an object to be created without even a type, such as\nwhen prepare_revision_walk() uses mark_uninteresting() to mark all\npromisor objects as uninteresting. These objects have obj-\u003eparsed \u003d\u003d\nfalse and obj-\u003etype \u003d\u003d OBJ_NONE.\n\nThe skip_hash optimization does not consider this kind of object, so\nparse_object_with_flags() proceeds to fully parse the object to\ndetermine its type.\n\nImprove the optimization by applying it to OBJ_NONE objects as well as\nOBJ_BLOB ones. Apply a similar fix for trees.\n\nFixes: 8db2dad7a045 (\"parse_object(): check on-disk type of suspected blob\")\nSigned-off-by: Aaron Plattner \u003caplattner@nvidia.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b08fc7a163ae69f4e0c386ce0ac72c424f7d4633",
      "old_mode": 33188,
      "old_path": "object.c",
      "new_id": "4669b8d65e74abcf92da3f9647df8c717be139b6",
      "new_mode": 33188,
      "new_path": "object.c"
    }
  ]
}
