)]}'
{
  "commit": "22da2b78daed9e9a68529b3b1d62fc3cbadd792c",
  "tree": "3bf1bc2519ac33b2d6c71ada757554da844dc8b5",
  "parents": [
    "a32d9cefa723f71ce8db6ee845064335eb71ea97"
  ],
  "author": {
    "name": "andybons",
    "email": "andybons@chromium.org",
    "time": "Wed Sep 30 12:01:30 2015 -0700"
  },
  "committer": {
    "name": "Commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Sep 30 19:02:21 2015 +0000"
  },
  "message": "[GN]: Fix typo and a bug in the GN roll script.\n\nWhen complete, the script attempts to switch from the branches it creates\nto build and roll things back to the branch you were on before.\n\nThe way it determines what branch you were on before is by looking at\ngit\u0027s reflog. However, the way I was looking at the reflog was wrong;\nfirst, it was doing an re.match() instead of an re.search(), and so\nit was looking for a match at the beginning of the output (which would\nnever be true). Second, we were looking at only the most recent entry,\nand when the roll script actually executed, the most recent entry would\nalways be a commit, not a checkout, and so we wouldn\u0027t see what the\nprevious branch was.\n\nBUG\u003dnone\nR\u003ddpranke@chromium.org\n\nReview URL: https://codereview.chromium.org/1381753003\n\nCr-Original-Commit-Position: refs/heads/master@{#351613}\nCr-Mirrored-From: https://chromium.googlesource.com/chromium/src\nCr-Mirrored-Commit: c9ef0df1e21a0e9be8c855fbbf01386ed0617d2a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1e9dec9e79d594fa0c6410dad55fe602e5cf5680",
      "old_mode": 33188,
      "old_path": "tools/gn/bin/roll_gn.py",
      "new_id": "b5c276ecc8ee5b6394d2d83b5513f49fdc45fc10",
      "new_mode": 33188,
      "new_path": "tools/gn/bin/roll_gn.py"
    }
  ]
}
