)]}'
{
  "commit": "595d59e2b53a19f8c5c277348e4e1a07bb913ba4",
  "tree": "7d2ec5731d65cc698c51c84c8c05e6d2d9fca0ce",
  "parents": [
    "ff1e72483f416ecb58737205163031f54c24e754"
  ],
  "author": {
    "name": "Martin Ågren",
    "email": "martin.agren@gmail.com",
    "time": "Wed Aug 02 21:40:55 2017 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 03 11:08:11 2017 -0700"
  },
  "message": "git.c: ignore pager.* when launching builtin as dashed external\n\nWhen running, e.g., `git -c alias.bar\u003dfoo bar`, we expand the alias and\nexecute `git-foo` as a dashed external. This is true even if git foo is\na builtin. That is on purpose, and is motivated in a comment which was\nadded in commit 441981bc (\"git: simplify environment save/restore\nlogic\", 2016-01-26).\n\nShortly before we launch a dashed external, and unless we have already\nfound out whether we should use a pager, we check `pager.foo`. This was\nadded in commit 92058e4d (\"support pager.* for external commands\",\n2011-08-18). If the dashed external is a builtin, this does not match\nthat commit\u0027s intention and is arguably wrong, since it would be cleaner\nif we let the \"dashed external builtin\" handle `pager.foo`.\n\nThis has not mattered in practice, but a recent patch taught `git-tag`\nto ignore `pager.tag` under certain circumstances. But, when started\nusing an alias, it doesn\u0027t get the chance to do so, as outlined above.\nThat recent patch added a test to document this breakage.\n\nDo not check `pager.foo` before launching a builtin as a dashed\nexternal, i.e., if we recognize the name of the external as a builtin.\nChange the test to use `test_expect_success`.\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": "82ac2a092c63735bf65a3379b4c1f2dc628e3e93",
      "old_mode": 33188,
      "old_path": "git.c",
      "new_id": "6b6d9f68e1ea010cb951501cab1fdfa82037b878",
      "new_mode": 33188,
      "new_path": "git.c"
    },
    {
      "type": "modify",
      "old_id": "afa03f3b65afd3aea22b967d82a8c4455e7b8808",
      "old_mode": 33261,
      "old_path": "t/t7006-pager.sh",
      "new_id": "9128ec5acda3b4b2f568dee50169046a333c4527",
      "new_mode": 33261,
      "new_path": "t/t7006-pager.sh"
    }
  ]
}
