)]}'
{
  "commit": "e605077260080584ec03be039a8c62ed2bd52e81",
  "tree": "eb69793caacfbda4c083b17ae35c0a885bb864a8",
  "parents": [
    "2be39bb43da52680fbf60b2353033b908bd4eadf"
  ],
  "author": {
    "name": "Martin Ågren",
    "email": "martin.agren@gmail.com",
    "time": "Sun Mar 17 19:36:03 2019 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Mar 18 15:54:17 2019 +0900"
  },
  "message": "doc-diff: add `--cut-header-footer`\n\nAsciiDoc and Asciidoctor do not agree on what to write in the header and\nfooter of each man-page, i.e., the very first and the very last line of\n*.[157]. Those differences can certainly be interesting in their own\nright, but they clutter the output of `./doc-diff --from-asciidoc\n--to-asciidoctor HEAD HEAD` quite a bit since the diff contains some\n10-15 lines of noise per file diffed.\n\nTeach doc-diff to cut away the first two and last two lines, i.e., the\nheader/footer and the empty line immediately following/preceding it.\nBecause Asciidoctor uses an extra empty line compared to AsciiDoc,\nremove one more line at each end of the file, but only if it\u0027s empty.\n\nAn alternative approach might be to pass down `--no-header-footer`,\nwhich both AsciiDoc and Asciidoctor understand, but it has some\ndrawbacks. First of all, the result doesn\u0027t build -- `xmlto` stumbles on\nthe resulting xml since it has multiple root elements. Second, it cuts\ntoo much -- dropping the header loses the synopsis, which would be\ninteresting to diff.\n\nLike in the previous commit, encode this option into the directory name\nof the \"installed\" and \"rendered\" files. Otherwise, we wouldn\u0027t be able\nto trust that what we use out of that cache actually corresponds to the\noptions given for this run. (We could optimize this caching a little\nsince this flag doesn\u0027t affect the contents of \"installed\" at all, but\nlet\u0027s punt on that.)\n\nSigned-off-by: Martin Ågren \u003cmartin.agren@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "36fc2307a795ccac4f107fe3fb556ade1af9e2fa",
      "old_mode": 33261,
      "old_path": "Documentation/doc-diff",
      "new_id": "3355be479812375d8a01d316d26425c3d14be63d",
      "new_mode": 33261,
      "new_path": "Documentation/doc-diff"
    }
  ]
}
