)]}'
{
  "commit": "06bbe73941756f08dffb7f3dbdacaa19a502615f",
  "tree": "2ced43036e4152b2552d929bf8ddc457744969ac",
  "parents": [
    "9c360fb232c312aec388ee5027537673421bff77"
  ],
  "author": {
    "name": "Ivan Frade",
    "email": "ifrade@google.com",
    "time": "Fri Dec 13 12:01:28 2024 -0800"
  },
  "committer": {
    "name": "ifrade",
    "email": "ifrade@google.com",
    "time": "Mon Nov 30 10:33:34 2026 -0800"
  },
  "message": "PushCertificateIdent: Use Instant/ZoneId instead of old Date API\n\nErrorprone suggests to replace the old java.util.Date API with the new\njava.time.Instant and related classes.\n\nTimezone handling is problematic: existing code converts the \"+-hhmm\"\ntext into minutes (without checking ranges) and formats it back to\nhhmm for java.util.TimeZone when needed. The first step accepts\n\"+0099\" as 99 minutes (and becomes GMT+0139). The second accepts hours\nin the [-23, 23] range, even when no timezone is beyond [-12, 14] (and\nthe new java.time.ZoneOffset only accepts [-18, 18]).\n\nWe could try to replicate the old parsing, but the results are as\narbitrary as simply defaulting to UTC for invalid timezones. It is not\neven clear if this timezone is useful. The spec of the git protocol\n[1] says:\n\n\u003e pusher ident\n\u003e Identify the GPG key in \"Human Readable Name \u003cemail@address\u003e\" format.\n\n[1] https://git-scm.com/docs/pack-protocol#_push_certificate\n\nChange-Id: I9f0e6113322e20a8be1099d33726846ac84b9f74\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6290b7978e710037b194702fff218084bb0b0291",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateIdentTest.java",
      "new_id": "2d39fad37cbae7de5b46332ef0130e80275a098b",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateIdentTest.java"
    },
    {
      "type": "modify",
      "old_id": "bd76b34aef056d854eb737c729dd9980b18a74b5",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateIdent.java",
      "new_id": "256843dac19fd4a96fb9e24dca301dd3155d8a63",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateIdent.java"
    }
  ]
}
