)]}'
{
  "commit": "8d43dea6ea4b7d1664632e555e207f617e54657b",
  "tree": "5632d2a6e5d6e8ccff305e84734665f2f1b4fb04",
  "parents": [
    "1fd7bc24386dbba3a9454bb49c702a642f00e34c"
  ],
  "author": {
    "name": "Raman Tenneti",
    "email": "rtenneti@google.com",
    "time": "Sun Feb 07 16:30:27 2021 -0800"
  },
  "committer": {
    "name": "Raman Tenneti",
    "email": "rtenneti@google.com",
    "time": "Mon Feb 08 17:34:55 2021 +0000"
  },
  "message": "sync: pass --bare option when doing git clone of superproject.\n\nChanged \"git pull\" to \"git fetch\" as we are using --bare option. Used the\nfollowing command to fetch:\n  git fetch origin +refs/heads/*:refs/heads/* --prune\n\nPass --branch argument to Superproject\u0027s UpdateProjectsRevisionId function.\n\nReturned False/None when directories don\u0027t exist instead of raise\nGitError exception from _Fetch and _LsTree functions. The caller of Fetch\ndoes Clone if Fetch fails.\n\nTested the code with the following commands.\n\n$ ./run_tests -v\n\nTested the init and sync code by copying all the repo changes into my Android\nAOSP checkout and running repo sync with --use-superproject option.\n\nBug: https://crbug.com/gerrit/13709\nBug: https://crbug.com/gerrit/13707\nTested-by: Raman Tenneti \u003crtenneti@google.com\u003e\nChange-Id: I3e441ecdfc87c735f46eff0eb98efa63cc2eb22a\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/296222\nReviewed-by: Mike Frysinger \u003cvapier@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "465d1f8773762f43e0ba4f84a56c8229dee79056",
      "old_mode": 33188,
      "old_path": "git_superproject.py",
      "new_id": "57a3a533c65a71d8edabb063613e6cc6f224ec6d",
      "new_mode": 33188,
      "new_path": "git_superproject.py"
    },
    {
      "type": "modify",
      "old_id": "c0f605a81b45710bebbc0b7723c7294563ce5d9d",
      "old_mode": 33188,
      "old_path": "subcmds/sync.py",
      "new_id": "5855af55e71b0e21d5d503a781bcdbc1f87cb0ee",
      "new_mode": 33188,
      "new_path": "subcmds/sync.py"
    },
    {
      "type": "modify",
      "old_id": "d2c2f501b5773ff5d4a15b5e0ae8db63241593c6",
      "old_mode": 33188,
      "old_path": "tests/test_git_superproject.py",
      "new_id": "fc9101dd1b718762e85fe6b9bd3ab7df3241d935",
      "new_mode": 33188,
      "new_path": "tests/test_git_superproject.py"
    }
  ]
}
