)]}'
{
  "commit": "82d673acb802cee21534c796a59f8cdf26500f53",
  "tree": "ab30afd04c30c51000c967f25d5f286aec2052b0",
  "parents": [
    "5b7fa2a78d482db2eac549c30b2cf2d14dab48e0"
  ],
  "author": {
    "name": "Scott Graham",
    "email": "scottmg@chromium.org",
    "time": "Fri Mar 27 14:42:39 2020 -0700"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Sat Mar 28 01:30:23 2020 +0000"
  },
  "message": "format: Fix formatting not taking into account suffixes\n\nIn subprinters (evaluated for penalty values), suffixes from higher up\nthe expression tree where not being included, resulting in incorrect\npenalties. In some cases, this caused the formatter to believe that all\noptions were going to exceed 80 col, and so it failed badly by putting\n[way] too much on a single line.\n\nhttps://chromium-review.googlesource.com/c/chromium/src/+/2124534 is a\ntest run on all .gn/.gni files in Chromium. Only the first two files in\nthe CL are related to this change, and seem like improvements or\napproximately as good.\n\nBug: gn:156\nChange-Id: I017ef6bc2918c1c8fdbd971c1041f5069b4c26c7\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/7880\nReviewed-by: Nico Weber \u003cthakis@chromium.org\u003e\nCommit-Queue: Scott Graham \u003cscottmg@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3253fde3f87100da627afa1226dbc001361324c1",
      "old_mode": 33188,
      "old_path": "src/gn/command_format.cc",
      "new_id": "d475893ac32064a2ef894074b2dffbb05d8940fb",
      "new_mode": 33188,
      "new_path": "src/gn/command_format.cc"
    },
    {
      "type": "modify",
      "old_id": "5f814b95e95ee95fea02dc0750222ac4915f950c",
      "old_mode": 33188,
      "old_path": "src/gn/command_format_unittest.cc",
      "new_id": "4dea55e2633cf8f8ee42d7be7db53722062ae3f5",
      "new_mode": 33188,
      "new_path": "src/gn/command_format_unittest.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2ced597c22a839fe186c7c219c29843a135279ff",
      "new_mode": 33188,
      "new_path": "src/gn/format_test_data/082.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2ced597c22a839fe186c7c219c29843a135279ff",
      "new_mode": 33188,
      "new_path": "src/gn/format_test_data/082.golden"
    }
  ]
}
