)]}'
{
  "commit": "32c4ed70e28f299bec9097db0609a1d954ffac54",
  "tree": "43c4adf825b8e52b3eaa771e09aaa4bd1b2a99bb",
  "parents": [
    "bd2943265e6b8a2f148209e2243fc7e5726b0b19"
  ],
  "author": {
    "name": "Kristofer Karlsson",
    "email": "krka@spotify.com",
    "time": "Thu Jul 16 10:47:58 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Jul 16 10:53:38 2026 -0700"
  },
  "message": "revision: fix --no-walk path filtering regression\n\nSince dd4bc01c0a (revision: use priority queue for non-limited\nstreaming walks, 2026-05-27), \"git rev-list --no-walk \u003ccommit\u003e\n-- \u003cpath\u003e\" ignores the path arguments and outputs all commits\nregardless of whether they touch the given paths.\n\nThat commit introduced a REV_WALK_NO_WALK enum value to separate\n--no-walk from the streaming walk in get_revision_1(). The new\ncase skips process_parents(), which is correct for not enqueuing\nparents, but also skips try_to_simplify_commit() which\nprocess_parents() calls to evaluate whether each commit touches\nthe given paths.\n\nAdd a call to try_to_simplify_commit() for the\nREV_WALK_NO_WALK case, folding it into the existing\nREV_WALK_REFLOG case which already does the same.\n\nAdd tests for --no-walk path filtering to t6017. The\n\"single commit, match\" test is defensive and passes without\nthe fix, while the other two fail without it.\n\nReported-by: Peter Colberg \u003cpcolberg@redhat.com\u003e\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": "4bb3b16e43acb9aec0d03e49eb54820162dd9f9b",
      "old_mode": 33188,
      "old_path": "revision.c",
      "new_id": "57e0e23e7e421f5b1f79c8a3d244185baf34598c",
      "new_mode": 33188,
      "new_path": "revision.c"
    },
    {
      "type": "modify",
      "old_id": "4821b90e7479ad8f4878ab4432ce0e9d2ce47de5",
      "old_mode": 33261,
      "old_path": "t/t6017-rev-list-stdin.sh",
      "new_id": "32284f183176a7d3337c5356c40c470fa4959cec",
      "new_mode": 33261,
      "new_path": "t/t6017-rev-list-stdin.sh"
    }
  ]
}
