)]}'
{
  "commit": "4a3a8ee96c7c749b99c91345db190a2c3720abeb",
  "tree": "1c4ea1660ea9ea54c69acb160a03d1aec6b872c0",
  "parents": [
    "2f5ff2c339d90422dd4010b5d980d33d1959fdd9"
  ],
  "author": {
    "name": "Phillip Wood",
    "email": "phillip.wood@dunelm.org.uk",
    "time": "Sun Jul 26 16:39:00 2026 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Jul 26 14:02:01 2026 -0700"
  },
  "message": "rebase: remember fixup -c after skipping fixup/squash\n\nWhen the final command in a chain of \"fixup\" and \"squash\" commands\nis skipped, we should prompt the user to edit the commit message\nif the chain contains a \"fixup -c\" command that was not skipped.\nUnfortunately, commit_staged_changes() only looks for completed \"squash\"\ncommands and so does not prompt the user to edit the message. Fix\nthis by recording whether a fixup command has the \"-c\" flag set and\nthen checking whether we have seen either a \"fixup -c\" or a \"squash\"\ncommand. Add regression tests for skipping a command in the middle\nof the chain (which currently works but has no test coverage), and\nfor skipping the final command (which is fixed by this patch).\n\nSigned-off-by: Phillip Wood \u003cphillip.wood@dunelm.org.uk\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4640ee9b7f536b7e3bfb37b7c82ecff3307759b4",
      "old_mode": 33188,
      "old_path": "sequencer.c",
      "new_id": "1a0a283b42c3c2cc3596c78532e0c00b92a6c646",
      "new_mode": 33188,
      "new_path": "sequencer.c"
    },
    {
      "type": "modify",
      "old_id": "5d306a476928b1838d62c67ab895c2d541e00c53",
      "old_mode": 33261,
      "old_path": "t/t3437-rebase-fixup-options.sh",
      "new_id": "a4b2a631654f1c3d1fc19b67ac2fd58ad0c3f4cf",
      "new_mode": 33261,
      "new_path": "t/t3437-rebase-fixup-options.sh"
    }
  ]
}
