)]}'
{
  "commit": "78860cf6d4d95b093251bbd9dfec6480bde35a1f",
  "tree": "580ee5e7f0babb4ceddd5be72bef53dffdc0bac2",
  "parents": [
    "a21ff543cc8b6a4c59e2aba4f5810ffd41d27831"
  ],
  "author": {
    "name": "Andrew Kolos",
    "email": "andrewrkolos@gmail.com",
    "time": "Mon Sep 09 13:47:05 2024 -0700"
  },
  "committer": {
    "name": "dart-internal-monorepo",
    "email": "dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com",
    "time": "Mon Sep 09 13:54:31 2024 -0700"
  },
  "message": "Handle `ProcessException`s due to `git` missing on the host (#154445)\n\nFixes https://github.com/flutter/flutter/issues/133585.\n\nThis PR elects to add a new catch within `_handleToolError` that checks any uncaught error. This new catch will exit the tool without crashing provided the following conditions are met:\n\n1. the error is a `ProcessException`,\n2. the error message contains `git` somewhere in the message (we don\u0027t match on the entire string in case it changes or is locale-dependent), and\n3. `git` does not appear to be runnable on the host system (`ProcessManager.canRun` returns `false` for git).\n\nThis is preferable to checking for runnability of `git` before we run it for 1) its simplicity and 2) lack of performance penalty for users that already have git installed (almost every single one).\n\nThis PR also does some light refactoring to runner_test.dart to make room for tests that aren\u0027t related to crash reporting.\nhttps://dart.googlesource.com/external/github.com/flutter/flutter/+/9cd2fc90af406a5ae798a6e099f3fca3eebd0da0\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "daa7626af3676ac6204522ea6cb6d21deecaf7b0",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "be91f78a8059b844cbd98e4ed71a9b2c274be30e",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "9d11f9cc2a290d68640c158219501510b6d4f4f1",
      "old_mode": 33188,
      "old_path": "commits.json",
      "new_id": "49b18d0b1d5f87be44b0345899ef5e6397629e22",
      "new_mode": 33188,
      "new_path": "commits.json"
    }
  ]
}
