)]}'
{
  "commit": "5e43d016589db2c613c98f9916afd729a36e781a",
  "tree": "948692009ada89d1fb21f8502e2ced19f0c4be8d",
  "parents": [
    "d422999adcd7f354d95aaced75b18f4f5b1f05b2"
  ],
  "author": {
    "name": "Wyatt Hepler",
    "email": "hepler@google.com",
    "time": "Tue Mar 03 11:40:45 2020 -0800"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Mar 03 23:56:13 2020 +0000"
  },
  "message": "Fix gn format --stdin newlines on Windows\n\nOn Windows, gn format --stdin converts \\n newlines to \\r\\n. The\nconversion happens when the formatted file is printed to stdout, which\nis opened in text mode. This change sets stdout to binary mode before\nprinting the formatted file on Windows.\n\nThis change also sets stderr to binary mode prior to printing the\nparse tree, to remove \\r\\n from parse tree output.\n\nChange-Id: Ie27b8a76e13ceb092c27304d164207bfab69c857\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/7540\nCommit-Queue: Scott Graham \u003cscottmg@chromium.org\u003e\nReviewed-by: Scott Graham \u003cscottmg@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8483b93cb3f05bfcaf601ec2bdc0038d0134f7fb",
      "old_mode": 33188,
      "old_path": "src/gn/command_format.cc",
      "new_id": "3253fde3f87100da627afa1226dbc001361324c1",
      "new_mode": 33188,
      "new_path": "src/gn/command_format.cc"
    }
  ]
}
