)]}'
{
  "commit": "84229b5e61f91db3e9dc9e2c376d1a1b4b16c410",
  "tree": "6cf0969921439ee49b482a3d3df996e12644ac29",
  "parents": [
    "cda696ab0b1e02cb6b9f9d88ff030039d62bc1a7"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Mon Jul 15 06:28:01 2024 +0000"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Mon Jul 15 06:28:01 2024 +0000"
  },
  "message": "Record in reject count metric whether the push was done by a service user\n\nThe reject count metric counts rejection reasons for git pushes. This\nchange extends the push kind so that we can not only distinguish between\nmagic and direct pushes, but also between pushes by a human user and\npushes by a service user (ideally those would be different fields, but\nmetrics can have at most 3 fields). Knowing whether the git push was\ndone by a human user or service user is important if we want to conclude\nif improving messages for common rejection reasons makes sense. E.g. if\npushes from human users are often rejected with a certain reason, we\nmight want to improve the error message to inform the user better what\u0027s\nwrong and what they need to do. On the other hand improving error\nmessages for rejection reasons that are often hit by service users has\nlikely much less impact. Hence we would like to be able to distinguish\nbetween pushes from human users and pushes from service users.\n\nBug: Google b/151127672\nRelease-Notes: skip\nChange-Id: I4eb349fbb44b4b23319410ea823f14c55b90a31f\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3b563919872954b28f46fceb9d1b4443fd620e45",
      "old_mode": 33188,
      "old_path": "Documentation/metrics.txt",
      "new_id": "b30b954169af7f3542277f71f2dccaee3bc0c2ad",
      "new_mode": 33188,
      "new_path": "Documentation/metrics.txt"
    },
    {
      "type": "modify",
      "old_id": "fab7ee3008d9cca98c670cb6c856cfbce2de9e9e",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/git/receive/ReceiveCommits.java",
      "new_id": "536e1fb5309b9bec4483b9fffc4d56ebcd3c5416",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/git/receive/ReceiveCommits.java"
    }
  ]
}
