)]}'
{
  "commit": "b2bd91c99b9435cf950ecf8efbb8439f31d3fcbc",
  "tree": "5d26d3943317c11c1cd913fc5640074a5bc7910b",
  "parents": [
    "3f5ea0b18207a81f58595b1a2e10e5ffb784b74f"
  ],
  "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": "Mon Nov 19 10:45:21 2012 -0800"
  },
  "message": "Represent git-submodule as nested projects, take 2\n\n(Previous submission of this change broke Android buildbot due to\n incorrect regular expression for parsing git-config output.  During\n investigation, we also found that Android, which pulls Chromium, has a\n workaround for Chromium\u0027s submodules; its manifest includes Chromium\u0027s\n submodules.  This new change, in addition to fixing the regex, also\n take this type of workarounds into consideration; it adds a new\n attribute that makes repo not fetch submodules unless submodules have a\n project element defined in the manifest, or this attribute is\n overridden by a parent project element or by the default element.)\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: I4b8344c1b9ccad2f58ad304573133e5d52e1faef\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dc6052a70d58bcf65e6973330a2b73691eb70c00",
      "old_mode": 33188,
      "old_path": "command.py",
      "new_id": "96d7848f0e0c3b8a967fc5b828f14577fe832846",
      "new_mode": 33188,
      "new_path": "command.py"
    },
    {
      "type": "modify",
      "old_id": "a54282c89365a86c0d8de49d4e006c2c8d64eb20",
      "old_mode": 33188,
      "old_path": "docs/manifest-format.txt",
      "new_id": "f6dba6407aad9e3dc722e0650694f9ec4ea8918c",
      "new_mode": 33188,
      "new_path": "docs/manifest-format.txt"
    },
    {
      "type": "modify",
      "old_id": "122393cf91c7e9a01e502e59c296c56ee642fdc9",
      "old_mode": 33188,
      "old_path": "manifest_xml.py",
      "new_id": "36f8ef8766ca7938c00555f7f44f104f035e0d2a",
      "new_mode": 33188,
      "new_path": "manifest_xml.py"
    },
    {
      "type": "modify",
      "old_id": "08b27710adae3534b5de5f64ba80ad7eb7be869a",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "46b76118cb5d43a33d703da86110109e57783b09",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "5b3dca78b3f275eac630fe7472c8df69d531e009",
      "old_mode": 33188,
      "old_path": "subcmds/sync.py",
      "new_id": "f80947380d2d7d8703cdf6a9351efca5dd477244",
      "new_mode": 33188,
      "new_path": "subcmds/sync.py"
    }
  ]
}
