{"thread":{"id":"32560","subject":"submodule name and path","startedAt":"2013-01-08T18:17:42Z","lastAt":"2013-01-08T18:29:14Z","messageCount":2,"participants":["乙酸鋰","W. Trevor King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"206316","messageId":"CAHtLG6TuHtk2P3w70-vUVGkdrv7R3VWyMzkGA4sr=G8xiSuEjA@mail.gmail.com","threadId":"32560","inReplyTo":null,"subject":"submodule name and path","fromName":"乙酸鋰","fromEmail":"ch3cooli@gmail.com","sentAt":"2013-01-08T18:17:42Z","receivedAt":"2013-01-08T18:17:42Z","isPatch":false,"sender":{"key":"ch3cooli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2804967?v=4"},"body":"Hi,\n\nIn doc, \"submodule name\" is not clearly mentioned?\nWhat is the purpose of \"submodule name\"?\nMust be same as \"submodule path\"?\n\"submodule path\" can be repeated, while \"submodule name\" unique?\n"},{"id":"206318","messageId":"20130108182914.GH4662@odin.tremily.us","threadId":"32560","inReplyTo":"CAHtLG6TuHtk2P3w70-vUVGkdrv7R3VWyMzkGA4sr=G8xiSuEjA@mail.gmail.com","subject":"Re: submodule name and path","fromName":"W. Trevor King","fromEmail":"wking@tremily.us","sentAt":"2013-01-08T18:29:14Z","receivedAt":"2013-01-08T18:29:14Z","isPatch":false,"sender":{"key":"wking@tremily.us","avatar":"https://avatars.githubusercontent.com/u/209920?v=4"},"body":"On Wed, Jan 09, 2013 at 02:17:42AM +0800, 乙酸鋰 wrote:\n> In doc, \"submodule name\" is not clearly mentioned?\n> What is the purpose of \"submodule name\"?\n> Must be same as \"submodule path\"?\n> \"submodule path\" can be repeated, while \"submodule name\" unique?\n\nThe submodule name starts out the same as the submodule path, but the\nname stays constant through submodule moves, replacements, etc.  The\nconstant name is useful because out-of-tree configuration (e.g. stuff\nin .git/config and .git/modules/) won't have to adjust to submodule\nrenames (except for core.worktree in .git/modules/*/config).\n\nSee:\n\nhttp://article.gmane.org/gmane.comp.version-control.git/49621\nhttp://article.gmane.org/gmane.comp.version-control.git/206659\n\nCheers,\nTrevor\n\n-- \nThis email may be signed or encrypted with GnuPG (http://www.gnupg.org).\nFor more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\n"}]}