)]}'
{
  "commit": "43966ab3156a082067bf9930351e96e9488da735",
  "tree": "540a2bf2af1738c6084a68b58ad4018bbbab2386",
  "parents": [
    "6cd33dceed60949e2dbc32e3f0f5e67c4c882e1e"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu May 26 23:01:39 2022 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu May 26 23:05:03 2022 -0700"
  },
  "message": "revert: optionally refer to commit in the \"reference\" format\n\nA typical \"git revert\" commit uses the full title of the original\ncommit in its title, and starts its body of the message with:\n\n    This reverts commit 8fa7f667cf61386257c00d6e954855cc3215ae91.\n\nThis does not encourage the best practice of describing not just\n\"what\" (i.e. \"Revert X\" on the title says what we did) but \"why\"\n(i.e. and it does not say why X was undesirable).\n\nWe can instead phrase this first line of the body to be more like\n\n    This reverts commit 8fa7f667 (do this and that, 2022-04-25)\n\nso that the title does not have to be\n\n    Revert \"do this and that\"\n\nWe can instead use the title to describe \"why\" we are reverting the\noriginal commit.\n\nIntroduce the \"--reference\" option to \"git revert\", and also the\nrevert.reference configuration variable, which defaults to false, to\ntweak the title and the first line of the draft commit message for\nwhen creating a \"revert\" commit.\n\nWhen this option is in use, the first line of the pre-filled editor\nbuffer becomes a comment line that tells the user to say _why_.  If\nthe user exits the editor without touching this line by mistake,\nwhat we prepare to become the first line of the body, i.e. \"This\nreverts commit 8fa7f667 (do this and that, 2022-04-25)\", ends up to\nbe the title of the resulting commit.  This behaviour is designed to\nhelp such a user to identify such a revert in \"git log --oneline\"\neasily so that it can be further reworded with \"git rebase -i\" later.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "797bfb6d62654342e2025c01cfed3078964b470f",
      "new_mode": 33188,
      "new_path": "Documentation/config/revert.txt"
    },
    {
      "type": "modify",
      "old_id": "bb92a4a4516d2a93a6e85facb0831aabc1be126c",
      "old_mode": 33188,
      "old_path": "Documentation/git-revert.txt",
      "new_id": "8463fe9cf75a3e9aa9cd2dced9907c6c00a87693",
      "new_mode": 33188,
      "new_path": "Documentation/git-revert.txt"
    },
    {
      "type": "modify",
      "old_id": "51776abea63adf400e02339a716531feb26ad03e",
      "old_mode": 33188,
      "old_path": "builtin/revert.c",
      "new_id": "ada51e46b9f2616ea4ac46a7c82bccca915462cb",
      "new_mode": 33188,
      "new_path": "builtin/revert.c"
    },
    {
      "type": "modify",
      "old_id": "a5f678f4529b1953af8dd7b6e168a4a03333e2e9",
      "old_mode": 33188,
      "old_path": "sequencer.c",
      "new_id": "96fec6ef6d908d4966bccd3482a0d1eb76906da8",
      "new_mode": 33188,
      "new_path": "sequencer.c"
    },
    {
      "type": "modify",
      "old_id": "da64473636b4bcf991925daf90647503097e4c05",
      "old_mode": 33188,
      "old_path": "sequencer.h",
      "new_id": "698599fe4e915ed4acbbf17995b0df201b723321",
      "new_mode": 33188,
      "new_path": "sequencer.h"
    },
    {
      "type": "modify",
      "old_id": "8617efaaf1e66f6f5d8246a817085ebd2d43c477",
      "old_mode": 33261,
      "old_path": "t/t3501-revert-cherry-pick.sh",
      "new_id": "a386ae9e885db4c977c7b689b9c6d42be7764438",
      "new_mode": 33261,
      "new_path": "t/t3501-revert-cherry-pick.sh"
    }
  ]
}
