)]}'
{
  "commit": "e3f114f46537152cfbdb553015518d1db1b812fd",
  "tree": "e885da4bba23c756ca27ca9e5d99e4995ebfcd12",
  "parents": [
    "6109f626c04ab6955563da1a496cc44ebf6f7dd8"
  ],
  "author": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@google.com",
    "time": "Wed Feb 23 02:00:32 2022 +0100"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Feb 28 18:16:36 2022 +0000"
  },
  "message": "Ensure the CommandSwitches::Get() singleton is properly initialized.\n\nOtherwise, flags like `--as\u003dbuildfile` are ignored. This caused a\nGN autoroll failure in Chromium. This fixes the issue by ensuring\nthat CommandSwitches::Init() is called from main(), and by adding\nruntime checks to verify CommandSwitches::Get() and\nCommandSwitches::Set() are always called after\nCommandSwitches::Init().\n\nBug: chromium/1300012\nChange-Id: Iaf2b3a9332f25b24c13f3075fe9bceed6c3f1a4b\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/13000\nReviewed-by: Nico Weber \u003cthakis@chromium.org\u003e\nReviewed-by: Petr Hosek \u003cphosek@google.com\u003e\nCommit-Queue: Petr Hosek \u003cphosek@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a5f2ca9671213bd52af7add014f2523818d1052a",
      "old_mode": 33188,
      "old_path": "src/gn/commands.cc",
      "new_id": "cb447955e46bc0438af7fe6523449228e09f5743",
      "new_mode": 33188,
      "new_path": "src/gn/commands.cc"
    },
    {
      "type": "modify",
      "old_id": "049ff85bb5b41d3c4bcc4c24d44df7c157dd99d2",
      "old_mode": 33188,
      "old_path": "src/gn/commands.h",
      "new_id": "acff044515f5861aad83366a7ddb17fbb5b351d1",
      "new_mode": 33188,
      "new_path": "src/gn/commands.h"
    },
    {
      "type": "modify",
      "old_id": "e839b322d38a2d77b916da6680fc3c83ba507128",
      "old_mode": 33188,
      "old_path": "src/gn/gn_main.cc",
      "new_id": "e1a05177beefd2eebb5d10a01d0e627e0e979194",
      "new_mode": 33188,
      "new_path": "src/gn/gn_main.cc"
    }
  ]
}
