)]}'
{
  "commit": "748c446850d1f5a5c55a7e1be44ca61ccabdb689",
  "tree": "c27f814558b2caf8f42288928c7e1c0a9cc0eb8b",
  "parents": [
    "aa329d95deec35deec75a3caab8eb0b9732b081c"
  ],
  "author": {
    "name": "Phillip Wood",
    "email": "phillip.wood@dunelm.org.uk",
    "time": "Tue Oct 27 10:57:57 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Oct 27 12:57:25 2026 -0700"
  },
  "message": "sequencer: remove AUTO_MERGE at the end of a rebase\n\nIf there are conflicts when picking a commit, the merge machinery\ncreates a ref called AUTO_MERGE that the user can use to compare their\nconflict resolution to the conflicted result. The sequencer tries to\nremove that ref on every iteration of the loop that picks commits,\nbut it is only written if we stop for conflicts, so it only needs\nto be removed when we enter the loop, not on every iteration. The\nref is not removed after the loop has finished, which means that if\nthe last pick has conflicts it is left behind after the rebase has\nfinished. Fix this by removing the ref before the start of the loop\nin pick_commits() as the last commit did for REBASE_HEAD. The tests\nmodified by the last commit are extended to check AUTO_MERGE as well.\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": "ad7dcb701dadaa8dfe5bbc9fd90a357febbd39d1",
      "old_mode": 33188,
      "old_path": "sequencer.c",
      "new_id": "4a1c0e70b8f14eec43af124014e8562f1d584a92",
      "new_mode": 33188,
      "new_path": "sequencer.c"
    },
    {
      "type": "modify",
      "old_id": "a2a5ac8ae011336f31e93a554803dccb246d8635",
      "old_mode": 33261,
      "old_path": "t/t3403-rebase-skip.sh",
      "new_id": "d4fcfe567c4932ab1fd9e6f5f2819a6e99906e21",
      "new_mode": 33261,
      "new_path": "t/t3403-rebase-skip.sh"
    },
    {
      "type": "modify",
      "old_id": "1703b5ae9b5ad96d2e5dc83613d4f841ac12ade7",
      "old_mode": 33261,
      "old_path": "t/t3407-rebase-abort.sh",
      "new_id": "fdd9a2b9f61a043af859c7e59a102ff011ffd2e7",
      "new_mode": 33261,
      "new_path": "t/t3407-rebase-abort.sh"
    },
    {
      "type": "modify",
      "old_id": "f35cd1309219496cd05efe1d2e74177f1d51e890",
      "old_mode": 33261,
      "old_path": "t/t3418-rebase-continue.sh",
      "new_id": "1c26bf5de54659f99bcc94af8e37d2e654e597c7",
      "new_mode": 33261,
      "new_path": "t/t3418-rebase-continue.sh"
    }
  ]
}
