)]}'
{
  "commit": "41c2597509e3e2228688668fbfb2d8bcfb5891b1",
  "tree": "f6cdd39e80c2c5695a2fd37fd53aa2d63f803455",
  "parents": [
    "e6ad7080098a0db0cb304812c8603856da2bebf2"
  ],
  "author": {
    "name": "Gavin Mak",
    "email": "gavinmak@google.com",
    "time": "Wed Aug 26 18:42:59 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Aug 27 12:43:00 2026 -0700"
  },
  "message": "project: don\u0027t use dest-branch or tags as SHA-1 upstream fallback\n\nhttps://gerrit-review.googlesource.com/614762 resolves a fallback\nupstream for a SHA-1-pinned project that has no explicit upstream, so\n--current-branch can narrow the fetch to one branch instead of fetching\nall heads.\n\nIt drew that fallback from dest-branch and from the manifest \u003cdefault\u003e\nupstream, dest-branch, and revision. dest-branch and tags are not valid\nfallback candidates:\n\n* dest-branch is the review destination for upload, not a fetch\n  source.\n* Tags are meant to be immutable snapshots of a single tagged commit,\n  and fetching it cannot retrieve an arbitrary pinned SHA-1.\n\nRestrict the fallback to branch heads resolved from the manifest\nupstream and revision defaults, and drop dest-branch entirely.\n\nBug: 541240657\nBug: 544041102\nChange-Id: I89ae86891ee166f4c340553ac5a9068efcc18461\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/622541\nTested-by: Gavin Mak \u003cgavinmak@google.com\u003e\nCommit-Queue: Gavin Mak \u003cgavinmak@google.com\u003e\nReviewed-by: Brian Gan \u003cbrgan@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c3d8bf21fc861fe640caf1800913555321e5512",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "a73c7d4fa1b9f255a1ba55cdc0115230fe8028b0",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "7d77ed8b6ca30f0f63d4acdb3adb7c1fa96bbe89",
      "old_mode": 33188,
      "old_path": "tests/test_project.py",
      "new_id": "e716b1a7328bb666303979a382c568455ad4948d",
      "new_mode": 33188,
      "new_path": "tests/test_project.py"
    }
  ]
}
