)]}'
{
  "commit": "de121ffe57fd14334c24f0ac51dbc6828a3bc315",
  "tree": "45a030612c07a076aeb793b4a6e2edca4c78b033",
  "parents": [
    "b3ee740c8275675a97974bcb27a18eb7997fa907"
  ],
  "author": {
    "name": "Martin Ågren",
    "email": "martin.agren@gmail.com",
    "time": "Wed Aug 02 21:40:53 2017 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 03 11:08:10 2017 -0700"
  },
  "message": "tag: respect `pager.tag` in list-mode only\n\nUsing, e.g., `git -c pager.tag tag -a new-tag` results in errors such as\n\"Vim: Warning: Output is not to a terminal\" and a garbled terminal.\nSomeone who makes use of both `git tag -a` and `git tag -l` will\nprobably not set `pager.tag`, so that `git tag -a` will actually work,\nat the cost of not paging output of `git tag -l`.\n\nUse the mechanisms introduced in two earlier patches to ignore\n`pager.tag` in git.c and let the `git tag` builtin handle it on its own.\nOnly respect `pager.tag` when running in list-mode.\n\nThere is a window between where the pager is started before and after\nthis patch. This means that early errors can behave slightly different\nbefore and after this patch. Since operation-parsing has to happen\ninside this window, this can be seen with `git -c pager.tag\u003d\"echo pager\nis used\" tag -l --unknown-option`. This change in paging-behavior should\nbe acceptable since it only affects erroneous usages.\n\nUpdate the documentation and update tests.\n\nIf an alias is used to run `git tag -a`, then `pager.tag` will still be\nrespected. Document this known breakage. It will be fixed in a later\ncommit. Add a similar test for `-l`, which works.\n\nNoticed-by: Anatoly Borodin \u003canatoly.borodin@gmail.com\u003e\nSuggested-by: Jeff King \u003cpeff@peff.net\u003e\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": "1eb15afa1ce8a533d65c5f5ace0bcd694d7f6ffd",
      "old_mode": 33188,
      "old_path": "Documentation/git-tag.txt",
      "new_id": "875d135e0e83d4c41acd647602d948ab636d881f",
      "new_mode": 33188,
      "new_path": "Documentation/git-tag.txt"
    },
    {
      "type": "modify",
      "old_id": "01154ea8dcca869ed635eb433d5afe879b8e883c",
      "old_mode": 33188,
      "old_path": "builtin/tag.c",
      "new_id": "5ad1af2524feb76c5163b21b4a5f9b3f3eb26ba7",
      "new_mode": 33188,
      "new_path": "builtin/tag.c"
    },
    {
      "type": "modify",
      "old_id": "66832f2324f6f9ad4d6b697f95d0d36eaecb62c1",
      "old_mode": 33188,
      "old_path": "git.c",
      "new_id": "82ac2a092c63735bf65a3379b4c1f2dc628e3e93",
      "new_mode": 33188,
      "new_path": "git.c"
    },
    {
      "type": "modify",
      "old_id": "b56d4cdd4184eded67dc1ef2072803e8ce48592b",
      "old_mode": 33261,
      "old_path": "t/t7006-pager.sh",
      "new_id": "570b2f252d4c3b58d5f57db3a55e96776c967d3f",
      "new_mode": 33261,
      "new_path": "t/t7006-pager.sh"
    }
  ]
}
