)]}'
{
  "commit": "d877b1af507a6aaf55e8643eb73277a30d3a800b",
  "tree": "4f4e00e2972a80270c7e1e1f43f3d807cf573406",
  "parents": [
    "9f4e170dfc3bd8cdd284f1c4411b25ce1d09737f"
  ],
  "author": {
    "name": "Kristofer Karlsson",
    "email": "krka@spotify.com",
    "time": "Wed May 27 15:50:01 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu May 28 06:08:20 2026 +0900"
  },
  "message": "revision: introduce rev_walk_mode to clarify get_revision_1()\n\nget_revision_1() dispatches to different walk strategies based on a\ncombination of rev_info flags: reflog_info, topo_walk_info, and\nlimited.  These conditions are checked in multiple places within\nthe function -- once to select the next commit, and again to decide\nhow to expand parents -- and the two chains must stay in sync.\n\nExtract the mode selection into a rev_walk_mode enum and a small\nget_walk_mode() helper, resolved once at the top of get_revision_1().\nBoth dispatch sites now switch on the same mode variable, making it\nobvious that they agree and easier to verify that all modes are\nhandled.\n\nNo functional change.\n\nSigned-off-by: Kristofer Karlsson \u003ckrka@spotify.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e1970b9c5d34ed7b00cc6e753b0ed6ed1ae822de",
      "old_mode": 33188,
      "old_path": "revision.c",
      "new_id": "9d0fc696d09937986bab559c77b8d738d167e396",
      "new_mode": 33188,
      "new_path": "revision.c"
    }
  ]
}
