)]}'
{
  "commit": "2e8a3805bb016bcaa7ca422fffbb1da22dd00605",
  "tree": "ffd916993b843873a99ce88de87f150971f41ccd",
  "parents": [
    "277759b9e10cae7c555e0e2c241334a0d8bf6a62"
  ],
  "author": {
    "name": "Gavin Mak",
    "email": "gavinmak@google.com",
    "time": "Wed Oct 07 21:40:19 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Oct 09 14:09:37 2026 -0700"
  },
  "message": "sync: don\u0027t run git ls-remote before fetchcmd on unpinned refs\n\nWhen a project\u0027s revision is an unpinned branch or tag and superprojects\nare not used (so self.revisionId is unset), _CustomFetch previously ran\ngit ls-remote against the Git remote before invoking repo.fetchcmd just\nto pre-populate REPO_TREV.\n\nThis added a per-project network round-trip before fetchcmd and forced\nbranch resolution against the Git remote rather than letting fetchcmd\nresolve REPO_RREV from its own server (just as standard git fetch does\nin _RemoteFetch).\n\nOnly populate REPO_TREV before fetchcmd when the target commit SHA is\nalready known (via self.revisionId from superproject or a SHA-pinned\nrevisionExpr). When REPO_RREV is an unpinned branch or tag, leave\nREPO_TREV empty, let fetchcmd resolve REPO_RREV and update the local\ntracking ref and FETCH_HEAD, and verify afterward that the tracking ref\nand FETCH_HEAD resolve to the same valid commit in the object store.\n\nBug: 543101585\nChange-Id: I482bf4c022d0e669e5620d4517581ac193983da0\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/640423\nReviewed-by: Brian Gan \u003cbrgan@google.com\u003e\nCommit-Queue: Gavin Mak \u003cgavinmak@google.com\u003e\nTested-by: Gavin Mak \u003cgavinmak@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b125ed3440c30a65725a75cbc9a3b656000406e0",
      "old_mode": 33188,
      "old_path": "docs/fetch-cmd.md",
      "new_id": "2378833f4135b4969715c656fb4fe403bcb02e2e",
      "new_mode": 33188,
      "new_path": "docs/fetch-cmd.md"
    },
    {
      "type": "modify",
      "old_id": "2c1958e7edde8aa819e70c532d45641617d7a715",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "b9714313921dd076e617d1c6b202cb1cd3900f06",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "5903acabd00c4e91e970233ad13f79da64c47811",
      "old_mode": 33188,
      "old_path": "tests/test_project.py",
      "new_id": "18dc47afb49c01188b9dfb888f034cc3077feb3a",
      "new_mode": 33188,
      "new_path": "tests/test_project.py"
    }
  ]
}
