)]}'
{
  "commit": "69998b0c6ff724bf620480140ccce648fec7d6a9",
  "tree": "b6f9c4c00b04a0f140074c4c2dba91ed4f055b11",
  "parents": [
    "5c6eeac8f0350fd6b14cf226ffcff655f1dd9582"
  ],
  "author": {
    "name": "Che-Liang Chiou",
    "email": "clchiou@google.com",
    "time": "Wed Jan 11 11:28:42 2012 +0800"
  },
  "committer": {
    "name": "Che-Liang Chiou",
    "email": "clchiou@google.com",
    "time": "Tue Oct 23 16:08:58 2012 -0700"
  },
  "message": "Represent git-submodule as nested projects\n\nWe need a representation of git-submodule in repo; otherwise repo will\nnot sync submodules, and leave workspace in a broken state.  Of course\nthis will not be a problem if all projects are owned by the owner of the\nmanifest file, who may simply choose not to use git-submodule in all\nprojects.  However, this is not possible in practice because manifest\nfile owner is unlikely to own all upstream projects.\n\nAs git submodules are simply git repositories, it is natural to treat\nthem as plain repo projects that live inside a repo project.  That is,\nwe could use recursively declared projects to denote the is-submodule\nrelation of git repositories.\n\nThe behavior of repo remains the same to projects that do not have a\nsub-project within.  As for parent projects, repo fetches them and their\nsub-projects as normal projects, and then checks out subprojects at the\ncommit specified in parent\u0027s commit object.  The sub-project is fetched\nat a path relative to parent project\u0027s working directory; so the path\nspecified in manifest file should match that of .gitmodules file.\n\nIf a submodule is not registered in repo manifest, repo will derive its\nproperties from itself and its parent project, which might not always be\ncorrect.  In such cases, the subproject is called a derived subproject.\n\nTo a user, a sub-project is merely a git-submodule; so all tips of\nworking with a git-submodule apply here, too.  For example, you should\nnot run `repo sync` in a parent repository if its submodule is dirty.\n\nChange-Id: I541e9e2ac1a70304272dbe09724572aa1004eb5c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a5f468f55288a381c6f33165223dd5d95c16856",
      "old_mode": 33188,
      "old_path": "command.py",
      "new_id": "51c0cb487c8f4b0a8eb0930e56724c83531c54b4",
      "new_mode": 33188,
      "new_path": "command.py"
    },
    {
      "type": "modify",
      "old_id": "f499868c30945be5a1126dc56c176f369406c178",
      "old_mode": 33188,
      "old_path": "docs/manifest-format.txt",
      "new_id": "a36af67c8df1b1f5d5e99cbc5ce8102d28c44d02",
      "new_mode": 33188,
      "new_path": "docs/manifest-format.txt"
    },
    {
      "type": "modify",
      "old_id": "04cabaadf7aef08f93402a23f6e0c91c5ab3507e",
      "old_mode": 33188,
      "old_path": "manifest_xml.py",
      "new_id": "a2a56e92f64432290f3992b8bf2c5d5e200d8dc8",
      "new_mode": 33188,
      "new_path": "manifest_xml.py"
    },
    {
      "type": "modify",
      "old_id": "472b1d32b94ba30596c8db59d58fa2b879b10992",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "2989d3809441a23f519e7254011be658bc65c843",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "e68a025e6dbc6f65455fd2951d389c83e6d42c7a",
      "old_mode": 33188,
      "old_path": "subcmds/sync.py",
      "new_id": "90e2908f0d4ed1105745ecc7ba09d8a03d3723cd",
      "new_mode": 33188,
      "new_path": "subcmds/sync.py"
    }
  ]
}
