)]}'
{
  "commit": "1fda91b511c76eb233f99877c60d1c5f7801f647",
  "tree": "f7f85f582e353c91b42644ce6a09837e1b2bcf8a",
  "parents": [
    "ef45e4dae0a0f45fc72b7cd34b32dd465a38697d"
  ],
  "author": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Aug 24 10:33:59 2010 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Aug 25 12:11:59 2010 -0700"
  },
  "message": "Fix \u0027git log\u0027 early pager startup error case\n\nWe start the pager too early for several git commands, which results in\nthe errors sometimes going to the pager rather than show up as errors.\n\nThis is often hidden by the fact that we pass in \u0027-X\u0027 to less by default,\nwhich causes \u0027less\u0027 to exit for small output, but if you do\n\n  export LESS\u003d-S\n\nyou can then clearly see the problem by doing\n\n  git log --prretty\n\nwhich shows the error message (\"fatal: unrecognized argument: --prretty\")\nbeing sent to the pager.\n\nThis happens for pretty much all git commands that use USE_PAGER, and then\ncheck arguments separately. But \"git diff\" does it too early too (even\nthough it does an explicit setup_pager() call)\n\nThis only fixes it for the trivial \"git log\" family case.\n\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "08b872263cd646ec9d7dc8ad91273c71b1af2b69",
      "old_mode": 33188,
      "old_path": "builtin/log.c",
      "new_id": "eaa1ee0fa71a344af747dec038c6a5907c8273a5",
      "new_mode": 33188,
      "new_path": "builtin/log.c"
    },
    {
      "type": "modify",
      "old_id": "f37028b3b722e6203ae8dac1ccf40a94421597d2",
      "old_mode": 33188,
      "old_path": "git.c",
      "new_id": "b83c1d17ab803ae0fa1d6c0dece43f2c0334f23d",
      "new_mode": 33188,
      "new_path": "git.c"
    }
  ]
}
