)]}'
{
  "commit": "42554b78fd2c3ce252647c9c5afbf04d2f2885f5",
  "tree": "a1ae80f49fc0c2a40ed25dbed6c09f14f5f3afd4",
  "parents": [
    "a7dbb3a462eab29d5ca79c9cba175e0baeff6751"
  ],
  "author": {
    "name": "Phillip Wood",
    "email": "phillip.wood@dunelm.org.uk",
    "time": "Wed Jul 15 16:22:03 2026 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Jul 15 12:16:21 2026 -0700"
  },
  "message": "sequencer: do not record dropped commits as rewritten\n\nIf a commit gets dropped because its changes are already upstream\nthen we should not record it as rewritten. As well as confusing any\npost-rewrite hooks, it means we end up copying the notes from the\ndropped commit to the commit that was picked immediately before the\none that was dropped.\n\nWhile we do not want to record the dropped commit as rewritten, if\nit is the final commit in a chain of fixups then we need to flush\nthe list of rewritten commits. The behavior of an \"edit\" command\nwhere the commit is dropped is changed so that \"rebase --continue\"\nwill not amend the previous pick. However, as the code comment notes\nit will still be erroneously recorded as rewritten when the rebase\ncontinues. That will need to be addressed separately along with not\nrecording skipped commits as rewritten.\n\nThe initialization of \"drop_commit\" is moved to ensure it is initialized\nwhen rewording a fast-forwarded commit.\n\nReported-by: Uwe Kleine-König \u003cu.kleine-koenig@baylibre.com\u003e\nTested-by: Uwe Kleine-König \u003cu.kleine-koenig@baylibre.com\u003e\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": "4b3092dc9bb7069d948a94fe83cc67eba4e1153f",
      "old_mode": 33188,
      "old_path": "sequencer.c",
      "new_id": "7a5898b215d935f4ed2a0943fc48b0a2914a408e",
      "new_mode": 33188,
      "new_path": "sequencer.c"
    },
    {
      "type": "modify",
      "old_id": "f0e7fcf649aebc70a08a3a8c7bd324a4cd18e751",
      "old_mode": 33261,
      "old_path": "t/t3400-rebase.sh",
      "new_id": "1d09886ea35141340dc7cb7230ba29e36926612a",
      "new_mode": 33261,
      "new_path": "t/t3400-rebase.sh"
    },
    {
      "type": "modify",
      "old_id": "ad7f8c6f00202c5ec844108b14a2c1301c185223",
      "old_mode": 33261,
      "old_path": "t/t5407-post-rewrite-hook.sh",
      "new_id": "51991956d1d28d7a5a66841da1a06bb3c0e82800",
      "new_mode": 33261,
      "new_path": "t/t5407-post-rewrite-hook.sh"
    }
  ]
}
