)]}'
{
  "commit": "95d7c8c0df43e1d7fea97e61a38ff2bc908ebd24",
  "tree": "4e4cb9d8821a4c5bd3653888d4dcc6adde014b0a",
  "parents": [
    "616396317c4f0ab0a1e71a2dd3ad49a43cd7d777"
  ],
  "author": {
    "name": "Gavin Mak",
    "email": "gavinmak@google.com",
    "time": "Tue Oct 13 00:19:02 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Nov 09 15:15:49 2026 -0800"
  },
  "message": "sync: don\u0027t read target tree after reprojectcmd\n\nAfter repo.reprojectcmd exits 0, _Reproject ran `git diff-index --cached\n--name-only \u003crevid\u003e^{tree}` to verify that the index matches the target\ncommit\u0027s tree.\n\nPeeling \u003crevid\u003e^{tree} and comparing every entry against the index\nforces Git to read the target commit and walk every tree object in the\ntarget revision from .git/objects.\n\nreprojectcmd exists for virtualized filesystems such as ABFS whose\ncheckout command materializes the worktree and writes .git/index from\nits own tree metadata without reading .git/objects/pack/*-trees-*.pack.\nRunning diff-index against \u003crevid\u003e^{tree} afterward forces Git to fault\nin the tree packfiles over the network (260 FetchTrees pack downloads /\n1.64 GiB across a 3,296-project Android checkout).\n\nTrust reprojectcmd\u0027s exit status for index materialization instead of\nre-walking the target tree in Git, while keeping the HEAD postcondition\ncheck that verifies the command did not modify refs.\n\nBug: 543101585\nChange-Id: Ie5feea41a4191245232c6763a489d01596370c55\n\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/643004\nCommit-Queue: Gavin Mak \u003cgavinmak@google.com\u003e\nTested-by: Gavin Mak \u003cgavinmak@google.com\u003e\nReviewed-by: Brian Gan \u003cbrgan@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76e1de8221a3b463c7a440fe72b78f57ac316670",
      "old_mode": 33188,
      "old_path": "docs/reproject-cmd.md",
      "new_id": "95d0ba639faff670c8f551b3373c7115ebade3b9",
      "new_mode": 33188,
      "new_path": "docs/reproject-cmd.md"
    },
    {
      "type": "modify",
      "old_id": "ffa56a7c7f708f7648cd4773de58d53da0a109c3",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "00655e7bc5992cc38f17ca5b9b19b58e2a3e0280",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "60d01ff39aa603d5666933c192a9475208aa0320",
      "old_mode": 33188,
      "old_path": "tests/test_project.py",
      "new_id": "7d67be23fa753471a4af61d0ddbddda94e910300",
      "new_mode": 33188,
      "new_path": "tests/test_project.py"
    }
  ]
}
