)]}'
{
  "commit": "2cd9de3e18183422cd7ec3cd81cebc656068ea42",
  "tree": "fce94bdd614ab5495fb5ec7c7be70b9cbbb754f8",
  "parents": [
    "ccee60862bbba6aa65fafbdb1ce357d2b31a795b"
  ],
  "author": {
    "name": "Jens Lehmann",
    "email": "Jens.Lehmann@web.de",
    "time": "Sun Jun 26 01:26:02 2011 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Jun 26 13:15:21 2011 -0700"
  },
  "message": "submodule add: always initialize .git/config entry\n\nWhen \"git submodule add $path\" is run to add a subdirectory $path to the\nsuperproject, and $path is already the top of the working tree of the\nsubmodule repository, the command created submodule.$path.url entry in the\nconfiguration file in the superproject. However, when adding a repository\n$URL that is outside the respository of the superproject to $path that\ndoes not exist (yet) with \"git submodule add $URL $path\", the command\nforgot to set it up.\n\nThe user is expressing the interest in the submodule and wants to keep a\ncheckout, the \"submodule add\" command should consistently set up the\nsubmodule.$path.url entry in either case.\n\nAs a result \"git submodule init\" can\u0027t simply skip the initialization of\nthose submodules for which it finds an url entry in the git./config\nanymore. That lead to problems when adding a submodule (which now sets the\nurl), add the \"update\" setting to .gitmodules and expect init to copy that\ninto .git/config like it is done in t7406. So change init to only then\ncopy the \"url\" and \"update\" entries when they don\u0027t exist yet in the\n.git/config and do nothing otherwise.\n\nSigned-off-by: Jens Lehmann \u003cJens.Lehmann@web.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ce659714fe42aa1ab9506cb37956226e4b53b25c",
      "old_mode": 33261,
      "old_path": "git-submodule.sh",
      "new_id": "ec6178ee996ed72143fbcea88516b6b7e489a720",
      "new_mode": 33261,
      "new_path": "git-submodule.sh"
    }
  ]
}
