)]}'
{
  "commit": "d8c2f07d653520568da7cace755a87dad241b72d",
  "tree": "c75259ab4aec670051dc6e35f38e8e929df0121d",
  "parents": [
    "3c855e612eba4a7c6f76c81a6c9f08ad1f438675"
  ],
  "author": {
    "name": "Takuto Ikuta",
    "email": "tikuta@google.com",
    "time": "Fri Mar 06 01:36:55 2026 +0900"
  },
  "committer": {
    "name": "GN LUCI",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Mar 05 08:46:26 2026 -0800"
  },
  "message": "Add --error-limit flag to control error output count\n\nThis introduces a new command-line flag --error-limit to allow users to\nspecify the maximum number of errors displayed. It sets a default limit\nof 10 errors when the flag is not provided, preventing terminal flooding\nduring builds with numerous errors.\n\nThis change also modifies Err::PrintToStdout() and\nErr::PrintNonfatalToStdout() to return a boolean indicating whether the\nerror was actually printed or suppressed. This allows callers to\ngracefully handle cases where the error output is suppressed by the\nlimit, avoiding unnecessary formatting additions such as empty newlines\nor separators.\n\nChange-Id: I3b53be631575a4b444c75e4762353fa4eb8f113a\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/21380\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Sylvain Defresne \u003csdefresne@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6d951a5c5d386b8a0ca397bff204911057c1d7e4",
      "old_mode": 33188,
      "old_path": "docs/reference.md",
      "new_id": "4c679715eaf39b37fc40744b35e0c43ea83d220f",
      "new_mode": 33188,
      "new_path": "docs/reference.md"
    },
    {
      "type": "modify",
      "old_id": "fccfebbef1035a6a0e4998489e77b62fca6953b3",
      "old_mode": 33188,
      "old_path": "src/gn/command_check.cc",
      "new_id": "eba8c7041c03f3f5ddaeb4a0daab22f43397f3c8",
      "new_mode": 33188,
      "new_path": "src/gn/command_check.cc"
    },
    {
      "type": "modify",
      "old_id": "8c2a45aae08eb5674f3ef3283429f25f0f6a31ad",
      "old_mode": 33188,
      "old_path": "src/gn/command_gen.cc",
      "new_id": "4f951d4ad0e61760a59b37513ec9fd367249f756",
      "new_mode": 33188,
      "new_path": "src/gn/command_gen.cc"
    },
    {
      "type": "modify",
      "old_id": "e3f71c936ad48ffb95c02053b341eebc03647972",
      "old_mode": 33188,
      "old_path": "src/gn/err.cc",
      "new_id": "627fdf8fea26706f206b7304456a44735751f638",
      "new_mode": 33188,
      "new_path": "src/gn/err.cc"
    },
    {
      "type": "modify",
      "old_id": "6e50b37d6fa6e4095871515e798a9e8f8be6b8f1",
      "old_mode": 33188,
      "old_path": "src/gn/err.h",
      "new_id": "c67da5d432620b8eaf7bbe46d4cf28106983cacf",
      "new_mode": 33188,
      "new_path": "src/gn/err.h"
    },
    {
      "type": "modify",
      "old_id": "bf0c7533b96f72b2349588a4c50810aa79b8249b",
      "old_mode": 33188,
      "old_path": "src/gn/switches.cc",
      "new_id": "4081695f38b7e41c9e544bb334a7b28c610ef4c6",
      "new_mode": 33188,
      "new_path": "src/gn/switches.cc"
    },
    {
      "type": "modify",
      "old_id": "57d38287a2afeb0768f65c69c7790fccdba46412",
      "old_mode": 33188,
      "old_path": "src/gn/switches.h",
      "new_id": "5fe34e7df6a14ca4b7d01cc176758bc959bb2580",
      "new_mode": 33188,
      "new_path": "src/gn/switches.h"
    }
  ]
}
